#include <sqt/orm/querier/selecter/entity_selecter.h>
A primary selecter that selects the entire entity from the table.
| ENTITY | The entity type that the selecter selects. It must satisfy the sqt::EntityValueType concept. |
This primary selecter selects all columns from the table without any clauses and returns them as entity instances.
To create instances of this selecter, use the sqt::DataContext::MakeSelecter() method.
This class template satisfies the sqt::SelecterType concept.
Public Types | |
| using | EntityType = ENTITY |
| using | ResultElementType = ENTITY |
Static Public Member Functions | |
| static ResultElementType | GetResultElement (Statement &statement) |
| Static Public Member Functions inherited from sqt::BaseSelecter< EntitySelecter< ENTITY > > | |
| static std::string_view | BuildSQL () |
| static constexpr auto | BuildPlaceholderBinders () noexcept |
Friends | |
| class | BaseSelecter< EntitySelecter< ENTITY > > |
Additional Inherited Members | |
| Public Member Functions inherited from sqt::BaseSelecter< EntitySelecter< ENTITY > > | |
| constexpr void | BindInlineParameters (Statement &) const noexcept |
| Public Member Functions inherited from sqt::WhereCapability< EntitySelecter< ENTITY >, WhereSelectDecorator > | |
| constexpr auto | Where (PREDICATE &&predicate) const |
| Public Member Functions inherited from sqt::OrderBySelectCapability< EntitySelecter< ENTITY > > | |
| constexpr auto | OrderBy (const TERMS &... terms) const |
| Public Member Functions inherited from sqt::LimitSelectCapability< EntitySelecter< ENTITY > > | |
| constexpr auto | Limit (std::size_t limit) const |
| Static Public Attributes inherited from sqt::BaseSelecter< EntitySelecter< ENTITY > > | |
| static constexpr std::size_t | ParameterIndex |
| static constexpr std::size_t | ParameterCount |