AnnaDB 1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
annadb::Query::Insert Class Reference
Inheritance diagram for annadb::Query::Insert:
annadb::Query::QueryCmd

Public Member Functions

 Insert (tyson::TySonObject &obj) noexcept
 
template<typename ... T>
 Insert (T &&...values) noexcept
 
 Insert (std::vector< tyson::TySonObject > &objs) noexcept
 
- Public Member Functions inherited from annadb::Query::QueryCmd
 QueryCmd (std::string_view name, bool start_cmd)
 
std::string name () noexcept
 
bool can_start_pipeline () const noexcept
 
virtual std::string query () noexcept
 
bool next_step_allowed (const std::string &cmdName) noexcept
 
bool previous_step_allowed (const std::string &cmdName) noexcept
 

Constructor & Destructor Documentation

◆ Insert() [1/2]

annadb::Query::Insert::Insert ( tyson::TySonObject obj)
inlineexplicitnoexcept

Create a new insert statement from a single obj

Parameters
objthe TySonObject you want to insert into your DB collection
See also
TySON::tyson::TySonObject

◆ Insert() [2/2]

annadb::Query::Insert::Insert ( std::vector< tyson::TySonObject > &  objs)
inlineexplicitnoexcept

Create a new insert statement from a vector objs

Parameters
objsthe vector of TySonObjects you want to insert into your DB collection
See also
TySON::tyson::TySonObject

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