libasynql  3.2.0
Asynchronous MySQL access library for PocketMine plugins.
MysqlTypes.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * libasynql
5  *
6  * Copyright (C) 2018 SOFe
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 declare(strict_types=1);
22 
23 namespace poggit\libasynql\mysqli;
24 
29 interface MysqlTypes{
30  public const DECIMAL = 0x00;
31  public const TINY = 0x01;
32  public const SHORT = 0x02;
33  public const LONG = 0x03;
34  public const FLOAT = 0x04;
35  public const DOUBLE = 0x05;
36  public const NULL = 0x06;
37  public const TIMESTAMP = 0x07;
38  public const LONGLONG = 0x08;
39  public const INT24 = 0x09;
40  public const DATE = 0x0a;
41  public const TIME = 0x0b;
42  public const DATETIME = 0x0c;
43  public const YEAR = 0x0d;
44  public const NEWDATE = 0x0e;
45  public const VARCHAR = 0x0f;
46  public const BIT = 0x10;
47  public const TIMESTAMP2 = 0x11;
48  public const DATETIME2 = 0x12;
49  public const TIME2 = 0x13;
50  public const NEWDECIMAL = 0xf6;
51  public const ENUM = 0xf7;
52  public const SET = 0xf8;
53  public const TINY_BLOB = 0xf9;
54  public const MEDIUM_BLOB = 0xfa;
55  public const LONG_BLOB = 0xfb;
56  public const BLOB = 0xfc;
57  public const VAR_STRING = 0xfd;
58  public const STRING = 0xfe;
59  public const GEOMETRY = 0xff;
60 }