|
Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
|
A lightweight ORM builder for MongoDB using nlohmann::json. More...
#include <MongoQueryBuilder.hpp>
Public Member Functions | |
| MongoQueryBuilder (std::shared_ptr< database::MongoClient > db) | |
| MongoQueryBuilder & | where (const nlohmann::json &filter) |
| MongoGetAwaiter< ModelType > | get_async () |
| Executes a find query asynchronously and maps results to a vector of ModelType. | |
| MongoInsertAwaiter< ModelType > | insert_async (const ModelType &model) |
| Executes an INSERT query for a model. | |
A lightweight ORM builder for MongoDB using nlohmann::json.
|
inline |
|
inline |
Executes a find query asynchronously and maps results to a vector of ModelType.
|
inline |
Executes an INSERT query for a model.
|
inline |