ORM C++
Loading...
Searching...
No Matches
orm::model::SchemaView Struct Referenceexport
module orm

Immutable view over a statically materialized schema. More...

Public Member Functions

constexpr auto at (std::size_t index) const noexcept -> ModelView
constexpr auto find (TypeId type) const noexcept -> ModelView
constexpr auto findTable (std::string_view tableName) const noexcept -> ModelView

Public Attributes

std::span< const ModelDataView *const > models

Detailed Description

Immutable view over a statically materialized schema.

Definition at line 207 of file views.cppm.

Member Function Documentation

◆ at()

auto orm::model::SchemaView::at ( std::size_t index) const -> ModelView
inlinenodiscardconstexprnoexcept

Definition at line 211 of file views.cppm.

◆ find()

auto orm::model::SchemaView::find ( TypeId type) const -> ModelView
inlinenodiscardconstexprnoexcept

Definition at line 216 of file views.cppm.

◆ findTable()

auto orm::model::SchemaView::findTable ( std::string_view tableName) const -> ModelView
inlinenodiscardconstexprnoexcept

Definition at line 228 of file views.cppm.

Member Data Documentation

◆ models

std::span<const ModelDataView* const> orm::model::SchemaView::models

Definition at line 209 of file views.cppm.


The documentation for this struct was generated from the following file: