note 57482 deleted from function.mysqli-fetch-field-direct by bjori

From: Date: Thu, 02 Mar 2006 09:53:54 +0000
Subject: note 57482 deleted from function.mysqli-fetch-field-direct by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-104688@lists.php.net to get a copy of this message
Note Submitter: andrey at php dot net ---- The posts below regarding the *magic numbers* of the field types should not be regarded because MySQLi defines constants (already in the docs): MYSQLI_NOT_NULL_FLAG (integer) Indicates that a field is defined as NOT NULL MYSQLI_PRI_KEY_FLAG (integer) Field is part of a primary index MYSQLI_UNIQUE_KEY_FLAG (integer) Field is part of an unique index. MYSQLI_MULTIPLE_KEY_FLAG (integer) Field is part of an index. MYSQLI_BLOB_FLAG (integer) Field is defined as BLOB MYSQLI_UNSIGNED_FLAG (integer) Field is defined as UNSIGNED MYSQLI_ZEROFILL_FLAG (integer) Field is defined as ZEROFILL MYSQLI_AUTO_INCREMENT_FLAG (integer) Field is defined as AUTO_INCREMENT MYSQLI_TIMESTAMP_FLAG (integer) Field is defined as TIMESTAMP MYSQLI_SET_FLAG (integer) Field is defined as SET MYSQLI_NUM_FLAG (integer) Field is defined as NUMERIC MYSQLI_PART_KEY_FLAG (integer) Field is part of an multi-index MYSQLI_GROUP_FLAG (integer) Field is part of GROUP BY MYSQLI_TYPE_DECIMAL (integer) Field is defined as DECIMAL MYSQLI_TYPE_TINY (integer) Field is defined as TINYINT MYSQLI_TYPE_SHORT (integer) Field is defined as INT MYSQLI_TYPE_LONG (integer) Field is defined as INT MYSQLI_TYPE_FLOAT (integer) Field is defined as FLOAT MYSQLI_TYPE_DOUBLE (integer) Field is defined as DOUBLE MYSQLI_TYPE_NULL (integer) Field is defined as DEFAULT NULL MYSQLI_TYPE_TIMESTAMP (integer) Field is defined as TIMESTAMP MYSQLI_TYPE_LONGLONG (integer) Field is defined as BIGINT MYSQLI_TYPE_INT24 (integer) Field is defined as MEDIUMINT MYSQLI_TYPE_DATE (integer) Field is defined as DATE MYSQLI_TYPE_TIME (integer) Field is defined as TIME MYSQLI_TYPE_DATETIME (integer) Field is defined as DATETIME MYSQLI_TYPE_YEAR (integer) Field is defined as YEAR MYSQLI_TYPE_NEWDATE (integer) Field is defined as DATE MYSQLI_TYPE_ENUM (integer) Field is defined as ENUM MYSQLI_TYPE_SET (integer) Field is defined as SET MYSQLI_TYPE_TINY_BLOB (integer) Field is defined as TINYBLOB MYSQLI_TYPE_MEDIUM_BLOB (integer) Field is defined as MEDIUMBLOB MYSQLI_TYPE_LONG_BLOB (integer) Field is defined as LONGBLOB MYSQLI_TYPE_BLOB (integer) Field is defined as BLOB MYSQLI_TYPE_VAR_STRING (integer) Field is defined as VARCHAR MYSQLI_TYPE_STRING (integer) Field is defined as CHAR MYSQLI_TYPE_GEOMETRY (integer) Field is defined as GEOMETRY

« previous php.notes (#104688) next »