$queryTimes
$queryTimes :
Filtered table representation
select(string $columns) : \NotORM_Result
Add select clause, more calls appends to the end
string | $columns | for example "column, MD5(column) AS column_md5", empty string to reset previously set columns |
fluent interface
where( $condition, $parameters = array()) : \NotORM_Result
Add where condition, more calls appends with AND
$condition | ||
$parameters |
fluent interface
__invoke( $where, $parameters = array()) : \NotORM_Result
Shortcut for where()
$where | ||
$parameters |
fluent interface
order(string $columns) : \NotORM_Result
Add order clause, more calls appends to the end
string | $columns | for example "column1, column2 DESC", empty string to reset previous order |
fluent interface
limit( $limit, $offset = null) : \NotORM_Result
对查询进行limit操作 请注意以下两种用法,与NotORM原来的定义有所区别 - limit(数量) - limit(开始位置,数量) Set limit clause, more calls rewrite old values
$limit | ||
$offset |
fluent interface
group( $columns, $having = "") : \NotORM_Result
Set group clause, more calls rewrite old values
$columns | ||
$having |
fluent interface
lock( $exclusive = true) : \NotORM_Result
Set select FOR UPDATE or LOCK IN SHARE MODE
$exclusive |
fluent interface
union(\NotORM_Result $result, $all = false) : \NotORM_Result
\NotORM_Result | $result | |
$all |
fluent interface