CollectionFind class
(PECL mysql-xdevapi >= 8.0.11)
简介
类摘要
mysql_xdevapi\CollectionFind
implements
mysql_xdevapi\Executable
,
mysql_xdevapi\CrudOperationBindable
,
mysql_xdevapi\CrudOperationLimitable
,
mysql_xdevapi\CrudOperationSortable
{
/* 方法 */
public bind
( array
$placeholder_values
) : mysql_xdevapi\CollectionFind
public execute
( void
) : mysql_xdevapi\DocResult
public fields
( string
$projection
) : mysql_xdevapi\CollectionFind
public groupBy
( string
$sort_expr
) : mysql_xdevapi\CollectionFind
public having
( string
$sort_expr
) : mysql_xdevapi\CollectionFind
public limit
( integer
$rows
) : mysql_xdevapi\CollectionFind
public lockExclusive
([ integer
$lock_waiting_option
] ) : mysql_xdevapi\CollectionFind
public lockShared
([ integer
$lock_waiting_option
] ) : mysql_xdevapi\CollectionFind
public offset
( integer
$position
) : mysql_xdevapi\CollectionFind
public sort
( string
}$sort_expr
) : mysql_xdevapi\CollectionFindTable of Contents
- CollectionFind::bind — Bind value to query placeholder
- CollectionFind::__construct — CollectionFind constructor
- CollectionFind::execute — Execute the statement
- CollectionFind::fields — Set document field filter
- CollectionFind::groupBy — Set grouping criteria
- CollectionFind::having — Set condition for aggregate functions
- CollectionFind::limit — Limit number of returned documents
- CollectionFind::lockExclusive — Execute operation with EXCLUSIVE LOCK
- CollectionFind::lockShared — Execute operation with SHARED LOCK
- CollectionFind::offset — Skip given number of elements to be returned
- CollectionFind::sort — Set the sorting criteria