|
cubrid_field_flags(PECL CUBRID >= 8.3.0) cubrid_field_flags — Return a string with the flags of the given field offset Описание
string cubrid_field_flags
( resource $result
, int $field_offset
)
This function returns a string with the flags of the given field offset separated by space. You can split the returned value using explode. The possible flags could be: not_null, primary_key, unique_key, foreign_key, auto_increment, shared, reverse_index, reverse_unique and timestamp. Список параметров
Возвращаемые значенияA string with flags, when process is successful. FALSE when invalid field_offset value. -1 if SQL sentence is not SELECT. ПримерыПример #1 cubrid_field_flags() example
<?php Результат выполнения данного примера: Field Name Field Flags host_year not_null primary_key unique_key event_code not_null primary_key unique_key foreign_key athlete_code not_null primary_key unique_key foreign_key stadium_code not_null nation_code medal game_date |
|