PHP - Manual: msql_field_flags
2024-12-23
(PHP 4, PHP 5, PHP 7)
msql_field_flags — Get field flags
$result
, int $field_offset
) : stringmsql_field_flags() returns the field flags of the specified field.
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.
官方地址:https://www.php.net/manual/en/function.msql-field-flags.php