|
ORM C++
|
Trivially-copyable handle to one model in immutable Schema storage. More...

Public Member Functions | |
| constexpr auto | valid () const noexcept -> bool |
| constexpr | operator bool () const noexcept |
| constexpr auto | operator== (std::nullptr_t) const noexcept -> bool |
| constexpr auto | operator== (const ModelView &) const noexcept -> bool=default |
| constexpr auto | operator* () const noexcept -> const ModelView & |
| constexpr auto | operator-> () const noexcept -> const ModelDataView * |
| constexpr auto | data () const noexcept -> const ModelDataView & |
| constexpr auto | findColumn (std::string_view fieldOrSqlName) const noexcept -> const ColumnView * |
| constexpr auto | findRelation (std::string_view fieldOrSqlName) const noexcept -> const RelationView * |
| constexpr auto | findRelationField (std::string_view fieldName) const noexcept -> const RelationView * |
| constexpr auto | resolveTarget (const ColumnView &column) const noexcept -> ModelView |
| constexpr auto | resolveTarget (const RelationView &relation) const noexcept -> ModelView |
| constexpr auto | resolveJunction (const RelationView &relation) const noexcept -> JunctionView |
| constexpr auto | primaryKeySize () const noexcept -> std::size_t |
Public Attributes | |
| const SchemaView * | schema {} |
| std::size_t | modelIndex {noTargetModel} |
Trivially-copyable handle to one model in immutable Schema storage.
Definition at line 180 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 268 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 273 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 278 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 283 of file views.cppm.
|
explicitnodiscardconstexprnoexcept |
Definition at line 248 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 258 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 263 of file views.cppm.
|
nodiscardconstexprdefaultnoexcept |
|
nodiscardconstexprnoexcept |
Definition at line 253 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 333 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 306 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 288 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 297 of file views.cppm.
|
nodiscardconstexprnoexcept |
Definition at line 243 of file views.cppm.
| std::size_t orm::model::ModelView::modelIndex {noTargetModel} |
Definition at line 183 of file views.cppm.
| const SchemaView* orm::model::ModelView::schema {} |
Definition at line 182 of file views.cppm.