SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::SelecterType Concept Reference

#include <sqt/orm/querier/selecter/selecter_type.h>

Description

Constrains a type to be a selecter type, which corresponds to a SELECT SQL statement that can be executed.

Requirements

  • The type must satisfy the sqt::QuerierType concept.
  • The type must have a static member type ResultElementType, which is the type of the result element.
  • The type must have a static method GetResultElement() with the following signature:
    static ResultElementType GetResultElement(sqt::Statement& statement);
    Wrapper class for SQLite statement.
    Definition statement.h:21

A selecter type is a specialized querier type that corresponds to a SELECT SQL statement.
This concept adds more constraints about getting the result elements from the statement.

See also
sqt::QuerierType