|
| class | orm::ScopedTransaction |
| class | orm::Database |
| struct | orm::db::binding::OptionalValue< T > |
| struct | orm::db::binding::OptionalValue< T > |
| struct | orm::db::binding::BindingPayload< T, SchemaType, JoinedValues > |
| struct | soci::type_conversion< BindingPayload< T, SchemaType, JoinedValues > > |
| struct | soci::type_conversion< orm::db::binding::CollectionPayload< Owner, Target, SchemaType, JoinedValues > > |
| struct | soci::type_conversion< ProjectionPayload< T > > |
| class | orm::OrmContext< SchemaType > |
| class | orm::db::postgresql::PostgresqlDialect |
| class | orm::db::postgresql::PostgresqlBackend |
| class | orm::db::sqlite::SqliteDialect |
| class | orm::db::sqlite::SqliteBackend |
| class | orm::db::mysql::MysqlDialect |
| class | orm::db::mysql::MysqlBackend |
| class | orm::db::mariadb::MariadbDialect |
| class | orm::db::mariadb::MariadbBackend |
| struct | orm::db::SchemaCapabilities |
| struct | orm::db::QueryCapabilities |
| struct | orm::db::MutationCapabilities |
| struct | orm::db::RelationCapabilities |
| struct | orm::db::BackendValueLimits |
| struct | orm::db::MigrationCapabilities |
| struct | orm::db::BackendCapabilities |
| struct | orm::db::BackendRuntimeLimits |
| class | orm::db::BackendProvider |
| struct | orm::db::BoundValue |
| struct | orm::db::StatementParameter |
| struct | orm::db::Statement |
| struct | orm::db::StatementView |
| class | orm::db::BackendRuntime |
| struct | orm::db::InsertIfAbsentSpec |
| class | orm::db::SqlDialect |
| class | orm::db::TypeTranslator |
| struct | orm::db::binding::ObjectFieldFromValues< ModelField > |
| struct | orm::db::InsertManySpec |
| struct | orm::db::detail::InsertColumnBinding |
| class | orm::db::CommandGenerator |
| class | orm::db::DefaultCommandGenerator |
| class | orm::db::CommandGeneratorFactory |
| struct | orm::model::StaticModel< T, SchemaType > |
| | Materializes one aggregate model's complete scalar metadata in static storage. More...
|
| struct | orm::model::Schema< Models > |
| | A closed compile-time set of ORM models. More...
|
| class | orm::query::QueryValue |
| | A value that can be bound as a query parameter. More...
|
| struct | orm::query::QueryParameter |
| | A named parameter for raw query fragments. More...
|
| class | orm::Query< T > |
| | A template class representing a select query in the ORM framework. More...
|
| class | orm::detail::RelationCollection< T > |
| class | orm::OneToMany< T > |
| class | orm::ManyToMany< T > |
| struct | orm::detail::RelationCollectionTraits< T > |
| struct | orm::detail::RelationCollectionTraits< OneToMany< T > > |
| struct | orm::detail::RelationCollectionTraits< ManyToMany< T > > |
| struct | orm::detail::OptionalRelationCollectionTraits< T > |
| struct | orm::detail::OptionalRelationCollectionTraits< std::optional< T > > |
| struct | orm::SqliteMemory |
| struct | orm::SqliteConfig |
| struct | orm::PostgresTls |
| struct | orm::MysqlTls |
| struct | orm::PostgresConfig |
| struct | orm::MysqlConfig |
| struct | orm::MariadbConfig |
| struct | orm::db::ConnectionTraits< Config > |
| struct | orm::db::ConnectionTraits< SqliteConfig > |
| struct | orm::db::ConnectionTraits< PostgresConfig > |
| struct | orm::db::ConnectionTraits< MysqlConfig > |
| struct | orm::db::ConnectionTraits< MariadbConfig > |
| class | orm::db::ConnectionConfigView |
| struct | orm::migrations::PhysicalColumn |
| struct | orm::migrations::PhysicalForeignKey |
| struct | orm::migrations::PhysicalIndex |
| struct | orm::migrations::PhysicalTable |
| struct | orm::migrations::PhysicalSchema |
| struct | orm::migrations::SchemaSnapshot |
| struct | orm::migrations::RebuildTable |
| struct | orm::migrations::MigrationExecutionContext |
| struct | orm::migrations::TableRename |
| struct | orm::migrations::ColumnRename |
| struct | orm::migrations::ColumnTransformation |
| struct | orm::migrations::GenerationDecisions |
| struct | orm::migrations::SchemaChange |
| struct | orm::migrations::GenerationDiagnostic |
| struct | orm::migrations::SchemaDiff |
| class | orm::migrations::GenerationError |
| struct | orm::model::ColumnName< Member, SqlName > |
| | Compile-time override of one aggregate member's SQL column name. More...
|
| struct | orm::model::ColumnNames< Definitions > |
| struct | orm::model::StringLength< Member, Length > |
| struct | orm::model::StringLengths< Definitions > |
| struct | orm::model::PrimaryKey< Members > |
| struct | orm::model::AutoIncrement< Members > |
| struct | orm::model::LogicalTypeTraits< T > |
| struct | orm::model::LogicalTypeTraits< bool > |
| struct | orm::model::LogicalTypeTraits< char > |
| struct | orm::model::LogicalTypeTraits< signed char > |
| struct | orm::model::LogicalTypeTraits< unsigned char > |
| struct | orm::model::LogicalTypeTraits< short > |
| struct | orm::model::LogicalTypeTraits< unsigned short > |
| struct | orm::model::LogicalTypeTraits< int > |
| struct | orm::model::LogicalTypeTraits< unsigned int > |
| struct | orm::model::LogicalTypeTraits< long > |
| struct | orm::model::LogicalTypeTraits< unsigned long > |
| struct | orm::model::LogicalTypeTraits< long long > |
| struct | orm::model::LogicalTypeTraits< unsigned long long > |
| struct | orm::model::LogicalTypeTraits< float > |
| struct | orm::model::LogicalTypeTraits< double > |
| struct | orm::model::LogicalTypeTraits< std::string > |
| struct | orm::model::LogicalTypeTraits< Date > |
| struct | orm::model::LogicalTypeTraits< TimeOfDay > |
| struct | orm::model::LogicalTypeTraits< LocalDateTime > |
| struct | orm::model::LogicalTypeTraits< UtcTimestamp > |
| struct | orm::model::LogicalTypeTraits< Uuid > |
| struct | orm::model::LogicalTypeTraits< T > |
| class | orm::query::TypedPredicate< Owner, WriteSafe, ContainsCollection > |
| class | orm::query::TypedAggregatePredicate< Owner > |
| class | orm::query::Expression< Kind, Meta, Children > |
| class | orm::query::Parameter< T, Index > |
| class | orm::DatabaseError |
| | A backend-neutral database runtime error. More...
|
| struct | orm::db::binding::BindingInfo |
| | Binding info. More...
|
| class | orm::TimeOfDay |
| class | orm::Uuid |
| struct | orm::UuidAdapter< T > |
| struct | orm::ValueConverter< T > |
| class | orm::migrations::MigrationError |
| struct | orm::migrations::SqlMigration |
| struct | orm::migrations::Migration |
| class | orm::migrations::Catalog |
| struct | orm::migrations::MigrationSummary |
| struct | orm::migrations::AppliedMigration |
| struct | orm::migrations::Diagnostic |
| struct | orm::migrations::IncompleteMigration |
| struct | orm::migrations::Status |
| struct | orm::migrations::PlannedMigration |
| struct | orm::migrations::Plan |
| class | orm::migrations::Runner |
| struct | orm::migrations::GeneratedMigration |
| class | orm::migrations::MigrationProject |
| class | orm::query::TypedOrderBy< Owner > |
| class | orm::query::TypedProjection< Owner > |
| struct | orm::model::UuidStorageDefinition< Member, Backend, Storage > |
| struct | orm::model::UuidStorages< Definitions > |
| struct | orm::model::detail::IsUuidStorages< typename > |
| struct | orm::model::detail::IsUuidStorages< UuidStorages< Definitions... > > |
| struct | orm::model::detail::StaticSchemaTraits< typename > |
| struct | orm::model::detail::StaticSchemaTraits< Schema< Models... > > |
| struct | orm::model::detail::IsFixedString< typename > |
| struct | orm::model::detail::IsFixedString< reflection::FixedString< Size > > |
| struct | orm::model::detail::IsColumnNames< typename > |
| struct | orm::model::detail::IsColumnNames< ColumnNames< Definitions... > > |
| struct | orm::model::detail::IsPrimaryKey< typename > |
| struct | orm::model::detail::IsStringLengths< typename > |
| struct | orm::model::detail::IsStringLengths< StringLengths< Definitions... > > |
| struct | orm::model::detail::IsPrimaryKey< PrimaryKey< Members... > > |
| struct | orm::model::detail::IsAutoIncrement< typename > |
| struct | orm::model::detail::IsAutoIncrement< AutoIncrement< Members... > > |
| struct | orm::model::detail::IsRelations< typename > |
| struct | orm::model::detail::IsRelations< std::tuple< Descriptors... > > |
| struct | orm::model::TypeId |
| struct | orm::model::ColumnView |
| struct | orm::model::JunctionView |
| struct | orm::model::RelationView |
| struct | orm::model::ModelDataView |
| | Immutable data stored once for a model inside a closed schema. More...
|
| struct | orm::model::ModelView |
| | Trivially-copyable handle to one model in immutable Schema storage. More...
|
| struct | orm::model::SchemaView |
| | Immutable view over a statically materialized schema. More...
|
| struct | orm::OneToManyDescriptor< Member, MappedByMember, MappedByName > |
| | Typed one-to-many mapping. The descriptor stores no runtime strings: every member and fallback name is encoded in its type. More...
|
| struct | orm::detail::IsRelationDescriptor< OneToManyDescriptor< Member, MappedByMember, MappedByName > > |
| struct | orm::detail::IsOneToManyDescriptor< OneToManyDescriptor< Member, MappedByMember, MappedByName > > |
| struct | orm::ManyToManyDescriptor< Member, MappedByMember, MappedByName, ThroughTable, OwnerColumnNames, TargetColumnNames > |
| | Typed many-to-many mapping and its compile-time builder. More...
|
| struct | orm::detail::IsRelationDescriptor< ManyToManyDescriptor< Member, MappedByMember, MappedByName, ThroughTable, OwnerColumnNames, TargetColumnNames > > |
| struct | orm::detail::IsManyToManyDescriptor< ManyToManyDescriptor< Member, MappedByMember, MappedByName, ThroughTable, OwnerColumnNames, TargetColumnNames > > |
| class | orm::ProjectionQuery< Source, Result > |
| | A select query that returns a user-defined DTO instead of the full source model. More...
|
| class | orm::Update< T > |
| class | orm::query::TypedColumn< Members > |
| class | orm::query::TypedAggregate< Owner, ResultValue, Nullable > |
| class | orm::query::StaticPlan< Operation, Owner, ResultType, StateTuple, Distinct, Join > |
|
| template<typename Wrapper, typename Value> |
| auto | orm::db::binding::makeNullableValue (Value value) -> Wrapper |
| auto | orm::db::binding::isWithinValueLimits (const BoundValue &bound, const BackendValueLimits &limits, const BackendRuntimeLimits &runtime={}) noexcept -> bool |
| template<typename ModelField> |
| auto | orm::db::binding::getScalarFieldValue (const auto &values, const std::string &fieldName) -> ModelField |
| auto | orm::db::insertManyParameterName (std::size_t rowIndex, std::string_view logicalName) -> std::string |
| auto | orm::db::relations::createTableStatements (const SqlDialect &dialect, model::ModelView owner, BackendType backend=BackendType::Empty) -> std::vector< std::string > |
| auto | orm::db::relations::dropTableStatements (const SqlDialect &dialect, model::ModelView owner) -> std::vector< std::string > |
| auto | orm::db::relations::linkStatement (const SqlDialect &dialect, model::ModelView owner, model::RelationView relation, const binding::PrimaryKey &ownerKey, const binding::PrimaryKey &targetKey, BackendType backend=BackendType::Empty) -> Statement |
| auto | orm::db::relations::linkInsertSpec (model::ModelView owner, model::RelationView relation, const binding::PrimaryKey &ownerKey, const binding::PrimaryKey &targetKey) -> InsertIfAbsentSpec |
| auto | orm::db::relations::unlinkStatement (const SqlDialect &dialect, model::ModelView owner, model::RelationView relation, const binding::PrimaryKey &ownerKey, const binding::PrimaryKey &targetKey, BackendType backend=BackendType::Empty) -> Statement |
| auto | orm::db::relations::collectionSelectStatement (const SqlDialect &dialect, model::ModelView owner, model::RelationView relation, std::string targetSelectSql, const std::vector< binding::PrimaryKey > &ownerKeys, bool joinedValues, BackendType backend=BackendType::Empty) -> Statement |
| template<typename SchemaType, typename T> |
| consteval auto | orm::model::modelDescriptor () noexcept -> StaticModel< T, SchemaType > |
| template<typename SchemaType, typename T> |
| constexpr auto | orm::model::modelView () noexcept -> ModelView |
| template<typename T> |
| consteval auto | orm::model::tableName () -> std::string_view |
| template<typename SchemaType> |
| constexpr auto | orm::model::schemaView () noexcept -> const SchemaView & |
| template<typename SchemaType, typename T> |
| consteval auto | orm::model::requireSchemaModel () -> void |
| template<typename SchemaType, typename T> |
| consteval auto | orm::modelDescriptor () noexcept -> model::StaticModel< T, SchemaType > |
| template<typename SchemaType, typename T> |
| constexpr auto | orm::modelView () noexcept -> model::ModelView |
| template<typename T> |
| auto | orm::query::param (std::string name, T value) -> QueryParameter |
| | Creates a named parameter for a raw SQL fragment.
|
| template<typename T> |
| auto | orm::query::param (std::string name, T value, model::UuidStorage uuidStorage) -> QueryParameter |
| auto | orm::query::param (std::string name, std::nullopt_t, model::ColumnType logicalType, model::UuidStorage uuidStorage) -> QueryParameter |
| template<UuidDomainValue T> |
| auto | orm::query::param (std::string name, const std::optional< T > &value, model::UuidStorage uuidStorage) -> QueryParameter |
| template<auto Member, reflection::FixedString SqlName> |
| consteval auto | orm::model::columnName () -> ColumnName< Member, SqlName > |
| | Creates a typed SQL column-name override.
|
| template<typename... Definitions> |
| consteval auto | orm::model::columnNames (Definitions...) -> ColumnNames< Definitions... > |
| | Groups typed SQL column-name overrides.
|
| template<auto Member, std::size_t Length> |
| consteval auto | orm::model::stringLength () -> StringLength< Member, Length > |
| template<typename... Definitions> |
| consteval auto | orm::model::stringLengths (Definitions...) -> StringLengths< Definitions... > |
| template<auto... Members> |
| consteval auto | orm::model::primaryKey () -> PrimaryKey< Members... > |
| | Defines an ordered, typed primary key. An empty definition makes the model explicitly keyless.
|
| template<auto... Members> |
| consteval auto | orm::model::autoIncrement () -> AutoIncrement< Members... > |
| | Defines typed auto-increment members. Static-model validation further restricts this to one non-null int primary-key member.
|
| template<typename T> |
| consteval auto | orm::model::logicalType () -> ColumnType |
| | Resolves a C++ field type to its logical database type at compile time. Users may extend the closed set through LogicalTypeTraits<T>.
|
| template<auto Member, reflection::FixedString SqlName> |
| consteval auto | orm::columnName () |
| template<typename... Definitions> |
| consteval auto | orm::columnNames (Definitions... definitions) |
| template<auto... Members> |
| consteval auto | orm::primaryKey () |
| template<auto Member, std::size_t Length> |
| consteval auto | orm::stringLength () |
| template<typename... Definitions> |
| consteval auto | orm::stringLengths (Definitions... definitions) |
| template<auto... Members> |
| consteval auto | orm::autoIncrement () |
| template<typename T> |
| consteval auto | orm::logicalType () -> model::ColumnType |
| template<auto Start, auto End, auto Inc, class F, class... Args> |
| constexpr auto | orm::utils::constexpr_for (F &&f, Args... args) -> void |
| template<class Tuple, class F, class... Args> |
| constexpr auto | orm::utils::constexpr_for_tuple (Tuple &&t, F &&f, Args... args) -> void |
| template<class Tuple, class F, class... Args> |
| constexpr auto | orm::utils::constexpr_for_tuple (F &&f, Args... args) -> void |
| constexpr auto | orm::utils::replaceAll (std::string &text, const std::string &toReplace, const std::string &replaceWith) -> void |
| auto | orm::utils::removeLastComma (std::string &text) -> void |
| template<typename T, std::size_t Index> |
| constexpr auto | orm::query::param () -> Parameter< T, Index > |
| auto | orm::model::toString (ColumnType type) -> std::string |
| auto | orm::migrations::emptySnapshot (std::span< const db::BackendType > backends=generationBackends) -> SchemaSnapshot |
| auto | orm::migrations::capture (model::SchemaView models, std::span< const db::BackendType > backends=generationBackends) -> SchemaSnapshot |
| auto | orm::migrations::compare (const SchemaSnapshot &before, const SchemaSnapshot &after, const GenerationDecisions &decisions={}) -> SchemaDiff |
| auto | orm::migrations::generate (Version version, std::string name, const SchemaDiff &diff, const GenerationDecisions &decisions={}) -> GeneratedMigration |
| auto | orm::migrations::runCommandLine (std::span< const std::string_view > args, model::SchemaView models, const std::filesystem::path &directory, std::ostream &output, std::ostream &errors) -> int |
| auto | orm::migrations::runCommandLine (int argc, const char *const *argv, model::SchemaView models, const std::filesystem::path &directory="migrations") -> int |
| template<auto... Members> |
| constexpr auto | orm::query::asc (TypedColumn< Members... > column) |
| template<auto... Members> |
| constexpr auto | orm::query::desc (TypedColumn< Members... > column) |
| template<typename M> |
| auto | orm::query::rawOrder (std::string sql) -> TypedOrderBy< M > |
| template<typename S> |
| constexpr auto | orm::query::as (std::string alias, S source) |
| template<reflection::FixedString Alias, typename S> |
| constexpr auto | orm::query::as (S source) |
| template<auto Member, db::BackendType Backend, model::UuidStorage Storage> |
| consteval auto | orm::uuidStorage () -> model::UuidStorageDefinition< Member, Backend, Storage > |
| template<typename... Definitions> |
| consteval auto | orm::uuidStorages (Definitions...) -> model::UuidStorages< Definitions... > |
| template<typename T> |
| consteval auto | orm::model::typeId () noexcept -> TypeId |
| template<auto Member> |
| consteval auto | orm::oneToMany () -> OneToManyDescriptor< Member > |
| template<auto Member> |
| consteval auto | orm::manyToMany () -> ManyToManyDescriptor< Member > |
| template<typename... Descriptors> |
| consteval auto | orm::relations (Descriptors... descriptors) |
| template<auto... Members> |
| constexpr auto | orm::query::col () -> TypedColumn< Members... > |
| template<typename L, typename R> |
| constexpr auto | orm::query::operator&& (const L &left, const R &right) |
| template<typename L, typename R> |
| constexpr auto | orm::query::operator|| (const L &left, const R &right) |
| template<typename E> |
| constexpr auto | orm::query::operator! (const E &value) |
| template<auto Member, typename E> |
| constexpr auto | orm::query::any (const E &predicate) |
| template<auto Member, typename E> |
| constexpr auto | orm::query::none (const E &predicate) |
| template<auto Member> |
| constexpr auto | orm::query::exists () |
| template<typename M, typename... P> |
| auto | orm::query::raw (std::string sql, P... params) -> TypedPredicate< M > |
| template<auto... Members> |
| constexpr auto | orm::query::count (TypedColumn< Members... > column) |
| template<typename Model> |
| constexpr auto | orm::query::countAll () |
| template<auto... Members> |
| constexpr auto | orm::query::sum (TypedColumn< Members... > column) |
| template<auto... Members> |
| constexpr auto | orm::query::avg (TypedColumn< Members... > column) |
| template<auto... Members> |
| constexpr auto | orm::query::min (TypedColumn< Members... > column) |
| template<auto... Members> |
| constexpr auto | orm::query::max (TypedColumn< Members... > column) |
| template<typename Model> |
| constexpr auto | orm::query::select () |
| template<typename Source, typename Result, typename... P> |
| constexpr auto | orm::query::selectAs (P... projections) |
| template<typename Model> |
| constexpr auto | orm::query::update () |
| template<typename Model> |
| constexpr auto | orm::query::remove () |