Method |
Description |
|
Count ( string $table, string $count, string $where = null, null $option = null ) : string |
构造计数语句 |
|
CreateTable ( string $table, array $datainfo, $engine = null ) : string |
创建表,返回构造完整的SQL语句 |
|
DelTable ( string $table ) : string |
删除表,返回SQL语句 |
|
Delete ( string $table, string $where, array | null $option = null ) : string |
构造数据删除语句 |
|
ExistTable ( string $table, string $dbname = '' ) : string |
检查表是否存在,返回SQL语句 |
|
Export ( $table, $keyvalue, $type = 'mysql' ) |
|
|
Filter ( $sql ) : mixed |
返回经过过滤的SQL语句 |
|
Insert ( string $table, string $keyvalue ) : string |
构造数据插入语句 |
|
ReplacePre ( &$s ) : string |
替换数据表前缀 |
|
Select ( string $table, string $select = null, string $where = null, string $order = null, string $limit = null, array | null $option = null ) : string |
构造查询语句 |
|
Update ( string $table, string $keyvalue, string $where, array | null $option = null ) : string |
构造数据更新语句 |
|
__construct ( &$db = null ) |
|
|
get ( ) |
|
|