msql_field_flags
(PHP 4, PHP 5)
msql_field_flags — フィールドのフラグを取得する
説明
string msql_field_flags
( resource
$result
, int $field_offset
)msql_field_flags() は、指定したフィールドの フィールドフラグを返します。
パラメータ
-
result -
評価された結果 リソース。 この結果は、 msql_query() のコールにより得られたものです。
-
field_offset -
数値フィールドオフセット。
field_offsetは、1から始まります。
返り値
指定したキーのフィールドフラグを含む文字列を返します。 とりうる値は: primary key not null、 not null、primary key、 unique not null あるいは unique です。