|
cubrid_field_flagsReturn 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: パラメータ
戻り値A string with flags, when process is successful.
-1 if SQL sentence is not SELECT. 例例1 cubrid_field_flags example
上の例の出力は以下となります。 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 |