Lightweight 0.20260625.0
Loading...
Searching...
No Matches
Lightweight::RecordColumnMember Concept Reference

Requires that T maps onto a column of its record's table. More...

#include <Record.hpp>

Concept definition

template<typename T>
concept Lightweight::RecordColumnMember = FieldWithStorage<T> || SqlOutputColumnBinder<T>
Requires that T maps onto a column of its record's table.
Definition Record.hpp:304

Detailed Description

Requires that T maps onto a column of its record's table.

This is satisfied by fields with storage (Field, BelongsTo) as well as by plain record members that are directly bindable as an output column (a record may be a plain struct of bindable members). Relation members (HasMany, HasManyThrough, HasOneThrough, ...) have no column of their own and therefore must be skipped by every column-enumerating code path, such as the projection of a SELECT statement.

Definition at line 304 of file Record.hpp.