|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | ConnectAwaiter |
| A coroutine awaiter for connecting a PostgresClient asynchronously. More... | |
| class | ConnectionPool |
| A thread-safe connection pool for managing reusable database client connections. More... | |
| class | MongoClient |
| An asynchronous MongoDB client using coroutines. More... | |
| class | MysqlClient |
| An asynchronous MySQL client using coroutines and a network Proactor. More... | |
| struct | PoolOptions |
| Health checking and reconnecting for a ConnectionPool. More... | |
| class | PostgresClient |
| An asynchronous PostgreSQL client using libpq and a network Proactor. More... | |
| struct | QueryAwaiter |
| A coroutine awaiter for executing a query on a PostgresClient asynchronously. More... | |
| class | RedisClient |
| A synchronous Redis client providing core operations. More... | |
| struct | ResultAwaiter |
| Awaits any PostgresClient operation that reports a ResultSet. More... | |
| class | ResultSet |
| Represents a generic, unified result set from a database query. More... | |
| class | Row |
| Represents a single row of a database result set. More... | |
Functions | |
| ConnectAwaiter | connect_async (std::shared_ptr< PostgresClient > client) |
| Creates an awaiter for connecting a PostgresClient. | |
| QueryAwaiter | query_async (std::shared_ptr< PostgresClient > client, const std::string &sql) |
| Creates an awaiter for executing a query on a PostgresClient. | |
| QueryAwaiter | query_async (std::shared_ptr< PostgresClient > client, const std::string &sql, std::vector< std::optional< std::string > > params) |
Runs a statement with $1, $2, ... placeholders bound to params. | |
| ResultAwaiter | execute_async (std::shared_ptr< PostgresClient > client, std::string sql, std::vector< std::optional< std::string > > params={}) |
| Runs a statement through the prepared-statement cache (PostgresClient::execute). | |
| ResultAwaiter | begin_async (std::shared_ptr< PostgresClient > client) |
| Transaction control for coroutines. | |
| ResultAwaiter | commit_async (std::shared_ptr< PostgresClient > client) |
| ResultAwaiter | rollback_async (std::shared_ptr< PostgresClient > client) |
|
inline |
Transaction control for coroutines.
|
inline |
|
inline |
Creates an awaiter for connecting a PostgresClient.
| client | A shared pointer to the PostgresClient. |
|
inline |
Runs a statement through the prepared-statement cache (PostgresClient::execute).
|
inline |
Creates an awaiter for executing a query on a PostgresClient.
| client | A shared pointer to the PostgresClient. |
| sql | The SQL query string to execute. |
|
inline |
Runs a statement with $1, $2, ... placeholders bound to params.
|
inline |