mysql_field_flags

mysql_field_flags -- 結果において指定したフィールドのフラグを得ます

説明

string mysql_field_flags(string result, int フィールドオフセット);

mysql_field_flags は、指定したフィールドの フィールドフラグを得ます。 フラグは、空白一つで区切られたフラグ毎に一つの単語として 処理されます。 このため、explode を用いて返り値を 分割することができます。

運用システム上の MySQL がサポートしている場合、 次のフラグがレポートされます。 "not_null", "primary_key", "unique_key", "multiple_key", "blob", "unsigned", "zerofill", "binary", "enum", "auto_increment", "timestamp"

下位互換性の維持のため、 mysql_fieldflags も使用可能です。