Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
orm Namespace Reference

Classes

class  Col
 Represents a database column, allowing C++ operator overloading to build SQL expressions seamlessly. More...
 
struct  Expr
 Represents a logical SQL expression (e.g., "age > 18 AND is_active = 'true'"). More...
 
class  MigrationRunner
 Simple Database Migration Runner for C++ Coroutines. More...
 
struct  MongoGetAwaiter
 An awaiter for MongoDB queries that maps JSON responses back to C++ ModelType vectors. More...
 
struct  MongoInsertAwaiter
 An awaiter for MongoDB inserts. More...
 
class  MongoQueryBuilder
 A lightweight ORM builder for MongoDB using nlohmann::json. More...
 
class  QueryBuilder
 A lightweight, JSON-backed ORM Query Builder. More...
 
struct  QueryGetAwaiter
 
struct  QueryInsertAwaiter
 

Functions

template<typename DBClient >
auto do_query_async (std::shared_ptr< DBClient > client, const std::string &sql)
 Helper to unify query_async calls for both MysqlClient and PostgresClient.
 

Function Documentation

◆ do_query_async()

template<typename DBClient >
auto orm::do_query_async ( std::shared_ptr< DBClient >  client,
const std::string &  sql 
)

Helper to unify query_async calls for both MysqlClient and PostgresClient.