|
std::ostream & | operator<< (std::ostream &out, Query &query) noexcept |
|
◆ Query()
annadb::Query::Query::Query |
( |
std::string |
collection_name | ) |
|
|
inlineexplicit |
The class to create your queries
- Parameters
-
◆ delete_q()
void annadb::Query::Query::delete_q |
( |
| ) |
|
|
inlinenoexcept |
◆ find()
Query & annadb::Query::Query::find |
( |
Find && |
find | ) |
|
|
inlinenoexcept |
Create Find statement
- Parameters
-
- See also
- query.annadb::Query::Find
- Returns
- the query class to add additional statements
◆ get() [1/4]
Query & annadb::Query::Query::get |
( |
Get & |
get | ) |
|
|
inlinenoexcept |
Create Get statement
- Parameters
-
- See also
- query.annadb::Query::Get
- Returns
- the query class to add additional statements
◆ get() [2/4]
Create Get statement
- Parameters
-
- Returns
- the query class to add additional statements
◆ get() [3/4]
Query & annadb::Query::Query::get |
( |
T &&... |
values | ) |
|
|
inlinenoexcept |
Create Get statement
- Parameters
-
- Returns
- the query class to add additional statements
◆ get() [4/4]
Create Get statement
- Parameters
-
- See also
- TySON.tyson::TySonObject
- Returns
- the query class to add additional statements
◆ insert() [1/4]
void annadb::Query::Query::insert |
( |
Insert & |
insert | ) |
|
|
inlinenoexcept |
Create Insert statement
- Parameters
-
- See also
- query.annadb::Query::Insert
◆ insert() [2/4]
Create Insert statement
- Parameters
-
◆ insert() [3/4]
template<typename ... T>
void annadb::Query::Query::insert |
( |
T &&... |
insert | ) |
|
|
inlinenoexcept |
Create Insert statement
- Parameters
-
◆ insert() [4/4]
Create Insert statement
- Parameters
-
- See also
- TySON.tyson::TySonObject
◆ limit() [1/2]
Query & annadb::Query::Query::limit |
( |
Limit & |
limit | ) |
|
|
inlinenoexcept |
Create Limit statement
- Parameters
-
- See also
- query.annadb::Query::Limit
- Returns
- the query class to add additional statements
◆ limit() [2/2]
template<typename T >
requires std::is_integral_v<T>
Query & annadb::Query::Query::limit |
( |
T && |
limit | ) |
|
|
inlinenoexcept |
Create Limit statement
- Template Parameters
-
- Parameters
-
limit | the amount of values in the result |
- Returns
- the query class to add additional statements
◆ offset() [1/2]
Query & annadb::Query::Query::offset |
( |
Offset & |
offset | ) |
|
|
inlinenoexcept |
Create Offset statement
- Parameters
-
- See also
- query.annadb::Query::Offset
- Returns
- the query class to add additional statements
◆ offset() [2/2]
template<typename T >
requires std::is_integral_v<T>
Query & annadb::Query::Query::offset |
( |
T && |
offset | ) |
|
|
inlinenoexcept |
Create Offset statement
- Template Parameters
-
- Parameters
-
offset | the amount of values you skip in the result |
- Returns
- the query class to add additional statements
◆ project()
Query & annadb::Query::Query::project |
( |
T &&... |
values | ) |
|
|
inlinenoexcept |
Create Project statement
- Parameters
-
- See also
- TySON.tyson::TySonObject
- Returns
- the query class to add additional statements
◆ sort()
Query & annadb::Query::Query::sort |
( |
Sort && |
sort | ) |
|
|
inlinenoexcept |
Create Find statement
- Parameters
-
- See also
- query.annadb::Query::Find
- Returns
- the query class to add additional statements
◆ update() [1/3]
Create Update statement
- Parameters
-
values | can be a vector of mixed UpdateType with the corresponding value |
- See also
- query.annadb::Query::UpdateType
-
TySON.tyson::TySonObject
◆ update() [2/3]
Create Update statement
- Parameters
-
- See also
- query.annadb::Query::UpdateType
- Parameters
-
value | must be of type TySonType::Value |
- See also
- TySON.tyson::TySonObject
◆ update() [3/3]
Create Update statement
- Parameters
-
- See also
- query.annadb::Query::UpdateType
- Parameters
-
values | must contain only types of TySonType::Value |
- See also
- TySON.tyson::TySonObject
The documentation for this class was generated from the following file: