libasynql  3.2.0
Asynchronous MySQL access library for PocketMine plugins.
MysqlFlags Interface Reference

Data Fields

const NOT_NULL_FLAG = 1 << 0
 
const PRI_KEY_FLAG = 1 << 1
 
const UNIQUE_KEY_FLAG = 1 << 2
 
const MULTIPLE_KEY_FLAG = 1 << 3
 
const BLOB_FLAG = 1 << 4
 
const UNSIGNED_FLAG = 1 << 5
 
const ZEROFILL_FLAG = 1 << 6
 
const BINARY_FLAG = 1 << 7
 
const ENUM_FLAG = 1 << 8
 
const AUTO_INCREMENT_FLAG = 1 << 9
 
const TIMESTAMP_FLAG = 1 << 10
 
const SET_FLAG = 1 << 11
 
const NO_DEFAULT_VALUE_FLAG = 1 << 12
 
const ON_UPDATE_NOW_FLAG = 1 << 13
 
const NUM_FLAG = 1 << 15
 
const GET_FIXED_FIELDS_FLAG = 1 << 18
 
const FIELD_IN_PART_FUNC_FLAG = 1 << 19
 

Detailed Description

Result field flags returned by MySQL

See also
https://github.com/google/mysql/blob/master/include/mysql_com.h#L133

Definition at line 29 of file MysqlFlags.php.

Field Documentation

◆ AUTO_INCREMENT_FLAG

const AUTO_INCREMENT_FLAG = 1 << 9

field is a autoincrement field

Definition at line 51 of file MysqlFlags.php.

◆ BINARY_FLAG

const BINARY_FLAG = 1 << 7

Field is binary

Definition at line 45 of file MysqlFlags.php.

◆ BLOB_FLAG

const BLOB_FLAG = 1 << 4

Field is a blob

Definition at line 39 of file MysqlFlags.php.

◆ ENUM_FLAG

const ENUM_FLAG = 1 << 8

field is an enum

Definition at line 49 of file MysqlFlags.php.

◆ FIELD_IN_PART_FUNC_FLAG

const FIELD_IN_PART_FUNC_FLAG = 1 << 19

Field part of partition func

Definition at line 66 of file MysqlFlags.php.

◆ GET_FIXED_FIELDS_FLAG

const GET_FIXED_FIELDS_FLAG = 1 << 18

Used to get fields in item tree

Definition at line 64 of file MysqlFlags.php.

◆ MULTIPLE_KEY_FLAG

const MULTIPLE_KEY_FLAG = 1 << 3

Field is part of a key

Definition at line 37 of file MysqlFlags.php.

◆ NO_DEFAULT_VALUE_FLAG

const NO_DEFAULT_VALUE_FLAG = 1 << 12

Field doesn't have default value

Definition at line 57 of file MysqlFlags.php.

◆ NOT_NULL_FLAG

const NOT_NULL_FLAG = 1 << 0

Field can't be NULL

Definition at line 31 of file MysqlFlags.php.

◆ NUM_FLAG

const NUM_FLAG = 1 << 15

Field is num (for clients)

Definition at line 61 of file MysqlFlags.php.

◆ ON_UPDATE_NOW_FLAG

const ON_UPDATE_NOW_FLAG = 1 << 13

Field is set to NOW on UPDATE

Definition at line 59 of file MysqlFlags.php.

◆ PRI_KEY_FLAG

const PRI_KEY_FLAG = 1 << 1

Field is part of a primary key

Definition at line 33 of file MysqlFlags.php.

◆ SET_FLAG

const SET_FLAG = 1 << 11

field is a set

Definition at line 55 of file MysqlFlags.php.

◆ TIMESTAMP_FLAG

const TIMESTAMP_FLAG = 1 << 10

Field is a timestamp

Definition at line 53 of file MysqlFlags.php.

◆ UNIQUE_KEY_FLAG

const UNIQUE_KEY_FLAG = 1 << 2

Field is part of a unique key

Definition at line 35 of file MysqlFlags.php.

◆ UNSIGNED_FLAG

const UNSIGNED_FLAG = 1 << 5

Field is unsigned

Definition at line 41 of file MysqlFlags.php.

◆ ZEROFILL_FLAG

const ZEROFILL_FLAG = 1 << 6

Field is zerofill

Definition at line 43 of file MysqlFlags.php.


The documentation for this interface was generated from the following file: