docudb  1.0
Loading...
Searching...
No Matches
docudb::query Namespace Reference

Classes

struct  binary_op
 Represents a binary operation for querying. More...
 
struct  binder
 Represents a binder for query parameters. More...
 
struct  eq
 Represents an EQUAL operation for querying. More...
 
struct  gt
 Represents a GREATER THAN operation for querying. More...
 
struct  gte
 Represents a GREATER OR EQUAL THAN operation for querying. More...
 
struct  like
 Represents a LIKE operation for querying. More...
 
struct  logic_and
 Represents a LOGIC AND gate. More...
 
struct  logic_gate
 Represents a logic gate for combining two queryable objects. More...
 
struct  logic_or
 Represents a LOGIC OR gate. More...
 
struct  lt
 Represents a LESSER THAN operation for querying. More...
 
struct  lte
 Represents a LESSER OR EQUAL THAN operation for querying. More...
 
struct  neq
 Represents a NOT EQUAL operation for querying. More...
 
struct  order_by
 
struct  queryable_base
 Abstract base class for Queryable objects. More...
 
struct  queryable_type_eraser
 Type-erased Queryable object. More...
 
struct  queryable_wrapper
 Concrete wrapper for erasing the type of a Queryable object. More...
 
struct  regexp
 Represents a REGEXP operation for querying. More...
 

Concepts

concept  Queryable
 Represents a queryable object.
 

Functions

template<Queryable A, Queryable B>
logic_and< A, B > operator&& (A &&a, B &&b)
 
template<Queryable A, Queryable B>
logic_or< A, B > operator|| (A &&a, B &&b)
 

Variables

thread_local int bind_counter
 
const int MAX_VAR_NUM = 250000
 

Function Documentation

◆ operator&&()

template<Queryable A, Queryable B>
logic_and< A, B > docudb::query::operator&& ( A && a,
B && b )

Definition at line 386 of file docudb.hpp.

387 {
388 return logic_and<A, B>{std::forward<A>(a), std::forward<B>(b)};
389 }
Represents a LOGIC AND gate.
Definition docudb.hpp:218

◆ operator||()

template<Queryable A, Queryable B>
logic_or< A, B > docudb::query::operator|| ( A && a,
B && b )

Definition at line 392 of file docudb.hpp.

393 {
394 return logic_or<A, B>{std::forward<A>(a), std::forward<B>(b)};
395 }
Represents a LOGIC OR gate.
Definition docudb.hpp:230

Variable Documentation

◆ bind_counter

thread_local int docudb::query::bind_counter
extern

◆ MAX_VAR_NUM

const int docudb::query::MAX_VAR_NUM = 250000

Definition at line 238 of file docudb.hpp.