msql_field_flags

(PHP 4, PHP 5, PHP 7)

msql_field_flagsGet field flags

˵��

msql_field_flags ( resource $result , int $field_offset ) : string

msql_field_flags() returns the field flags of the specified field.

����

result

resource �͵Ľ�������˽�������Զ� msql_query() �ĵ��á�

field_offset

��ֵ���ֶ�ƫ������ field_offset �� 1 ��ʼ��

����ֵ

Returns a string containing the field flags of the specified key. This can be: primary key not null, not null, primary key, unique not null or unique.