PHP Class think\db\builder\Sqlsrv

Inheritance: extends Think\Db\Builder
Show file Open project: top-think/framework

Protected Properties

Property Type Description
$deleteSql
$selectInsertSql
$selectSql
$updateSql

Public Methods

Method Description
selectInsert ( $fields, $table, $options )

Protected Methods

Method Description
parseKey ( string $key, array $options = [] ) : string 字段和表名处理
parseLimit ( mixed $limit ) : string limit
parseOrder ( mixed $order, array $options = [] ) : string order分析
parseRand ( ) : string 随机排序

Method Details

parseKey() protected method

字段和表名处理
protected parseKey ( string $key, array $options = [] ) : string
$key string
$options array
return string

parseLimit() protected method

limit
protected parseLimit ( mixed $limit ) : string
$limit mixed
return string

parseOrder() protected method

order分析
protected parseOrder ( mixed $order, array $options = [] ) : string
$order mixed
$options array
return string

parseRand() protected method

随机排序
protected parseRand ( ) : string
return string

selectInsert() public method

public selectInsert ( $fields, $table, $options )

Property Details

$deleteSql protected property

protected $deleteSql

$selectInsertSql protected property

protected $selectInsertSql

$selectSql protected property

protected $selectSql

$updateSql protected property

protected $updateSql