docudb  1.0
Loading...
Searching...
No Matches
docudb::query::eq Struct Reference

Represents an EQUAL operation for querying. More...

#include <docudb.hpp>

Inheritance diagram for docudb::query::eq:
docudb::query::binary_op

Public Member Functions

 eq (std::string const &name, db_value &&val)
 
 eq (std::string const &name, nullptr_t)
 
- Public Member Functions inherited from docudb::query::binary_op
 binary_op (std::string const &json_query, std::string const &op, db_value &&value)
 
 binary_op (std::string const &json_query, std::string const &op, nullptr_t)
 
std::string to_query_string () const
 
binder const & get_binder () const
 
binderget_binder ()
 

Detailed Description

Represents an EQUAL operation for querying.

Definition at line 320 of file docudb.hpp.

Constructor & Destructor Documentation

◆ eq() [1/2]

docudb::query::eq::eq ( std::string const & name,
db_value && val )
inlineexplicit

Definition at line 322 of file docudb.hpp.

324 : binary_op(name, "=", std::move(val)) {}
binary_op(std::string const &json_query, std::string const &op, db_value &&value)
Definition docudb.hpp:245

◆ eq() [2/2]

docudb::query::eq::eq ( std::string const & name,
nullptr_t  )
inlineexplicit

Definition at line 326 of file docudb.hpp.

328 : binary_op(name, "IS", nullptr) {}

The documentation for this struct was generated from the following file: