MySQL Connector/C++
MySQL connector library for C and C++ applications
|
An operation which removes documents from a collection. More...
Public Member Functions | |
CollectionRemove (Collection &coll, const string &expr) | |
Create an operation which removes selected documnets from the given collection. | |
Operation & | sort (Type... spec) |
Specify ordering of documents in a query results. | |
Operation & | limit (unsigned items) |
Limit the operation to the given number of items (rows or documents). | |
BindOperation & | bind (const string ¶meter, const Value &val) |
Bind parameter with given name to the given value. | |
Operation & | bind (const Map &args) |
Bind parameters to values given by a map from parameter names to their values. | |
virtual Result | execute () |
Execute given operation and return its result. | |
virtual Result | execute () |
Execute given operation and return its result. | |
virtual Result | execute () |
Execute given operation and return its result. | |
An operation which removes documents from a collection.
|
inline |
Create an operation which removes selected documnets from the given collection.
Documents to be removed are specified by the given Boolean expression.
|
inlineinherited |
Specify ordering of documents in a query results.
Arguments are one or more strings of the form "<expr> <dir>"
where <expr>
gives the value to sort on and <dir>
is a sorting direction ASC
or DESC
.
|
inlineinherited |
Bind parameter with given name to the given value.
A statement or query can be executed only if all named parameters used by it are bound to values.