ORM C++
Loading...
Searching...
No Matches
orm::db Namespace Referenceexport

Namespaces

namespace  ast
namespace  binding
namespace  mariadb
namespace  mysql
namespace  postgresql
namespace  relations
namespace  sqlite

Classes

struct  BackendCapabilities
class  BackendProvider
class  BackendRuntime
struct  BackendRuntimeLimits
struct  BackendValueLimits
struct  BoundValue
class  CommandGenerator
class  CommandGeneratorFactory
class  ConnectionConfigView
struct  ConnectionTraits
struct  ConnectionTraits< MariadbConfig >
struct  ConnectionTraits< MysqlConfig >
struct  ConnectionTraits< PostgresConfig >
struct  ConnectionTraits< SqliteConfig >
class  DefaultCommandGenerator
struct  InsertIfAbsentSpec
struct  InsertManySpec
struct  MigrationCapabilities
struct  MutationCapabilities
struct  PaginationSpec
struct  QueryCapabilities
struct  RelationCapabilities
struct  SchemaCapabilities
class  SqlDialect
struct  Statement
struct  StatementParameter
struct  StatementView
class  TypeTranslator

Concepts

concept  ConnectionConfiguration

Typedefs

using SelectStatement = Statement
using SelectSpec = query::detail::SelectSpec
using UpdateSpec = query::detail::UpdateSpec
using Predicate = query::detail::Predicate
using PrimaryKey = binding::PrimaryKey

Enumerations

enum class  BackendType {
  Sqlite = 0 , Postgres = 1 , Mysql = 2 , Oracle = 3 ,
  Firebird = 4 , Db2 = 5 , Odbc = 6 , Empty = 7 ,
  Mariadb = 8
}
enum class  CompiledSqlFlavor { None , SQLite , PostgreSQL , MySQLFamily }
enum class  AffectedRowsSupport { Unavailable , Reliable }
enum class  MigrationAtomicity { WholeMigration , NonTransactional }

Functions

auto insertManyParameterName (std::size_t rowIndex, std::string_view logicalName) -> std::string

Typedef Documentation

◆ Predicate

using orm::db::Predicate = query::detail::Predicate
export

Definition at line 30 of file contracts.cppm.

◆ PrimaryKey

Definition at line 367 of file contracts.cppm.

◆ SelectSpec

using orm::db::SelectSpec = query::detail::SelectSpec
export

Definition at line 28 of file contracts.cppm.

◆ SelectStatement

Definition at line 20 of file commands.cppm.

◆ UpdateSpec

using orm::db::UpdateSpec = query::detail::UpdateSpec
export

Definition at line 29 of file contracts.cppm.

Enumeration Type Documentation

◆ AffectedRowsSupport

enum class orm::db::AffectedRowsSupport
exportstrong
Enumerator
Unavailable 
Reliable 

Definition at line 71 of file contracts.cppm.

◆ BackendType

enum class orm::db::BackendType
exportstrong
Enumerator
Sqlite 
Postgres 
Mysql 
Oracle 
Firebird 
Db2 
Odbc 
Empty 
Mariadb 

Definition at line 61 of file types.cppm.

◆ CompiledSqlFlavor

enum class orm::db::CompiledSqlFlavor
exportstrong
Enumerator
None 
SQLite 
PostgreSQL 
MySQLFamily 

Definition at line 82 of file types.cppm.

◆ MigrationAtomicity

enum class orm::db::MigrationAtomicity
exportstrong
Enumerator
WholeMigration 
NonTransactional 

Definition at line 151 of file contracts.cppm.

Function Documentation

◆ insertManyParameterName()

auto orm::db::insertManyParameterName ( std::size_t rowIndex,
std::string_view logicalName ) -> std::string
inlinenodiscardexport

Stable parameter name for one row of a batch insert; the row index scopes it inside a chunk.

Definition at line 30 of file commands.cppm.