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.