Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
QueryBuilder.hpp File Reference
#include <string>
#include <vector>
#include <memory>
#include <coroutine>
#include <orbit/http/json.hpp>
#include <orbit/database/ResultSet.hpp>
Include dependency graph for QueryBuilder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  orm::Expr
 Represents a logical SQL expression (e.g., "age > 18 AND is_active = 'true'"). More...
 
class  orm::Col
 Represents a database column, allowing C++ operator overloading to build SQL expressions seamlessly. More...
 
struct  orm::QueryGetAwaiter< DBClient, ModelType >
 
struct  orm::QueryInsertAwaiter< DBClient, ModelType >
 
class  orm::QueryBuilder< DBClient, ModelType >
 A lightweight, JSON-backed ORM Query Builder. More...
 

Namespaces

namespace  orm
 

Functions

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.