Lightweight 0.20250904.0
Loading...
Searching...
No Matches
Lightweight::SqlAllFieldsQueryBuilder< Record > Class Template Referencefinal

Represents a query builder that retrieves all fields of a record. More...

#include <QueryBuilders.hpp>

Inheritance diagram for Lightweight::SqlAllFieldsQueryBuilder< Record >:
Lightweight::SqlCoreDataMapperQueryBuilder< Record, SqlAllFieldsQueryBuilder< Record > >

Additional Inherited Members

- Public Member Functions inherited from Lightweight::SqlCoreDataMapperQueryBuilder< Record, SqlAllFieldsQueryBuilder< Record > >
size_t Count ()
 Executes a SELECT COUNT query and returns the number of records found.
 
std::vector< Record > All ()
 Executes a SELECT query and returns all records found.
 
auto All () -> std::vector< ReferencedFieldTypeOf< Field > >
 Executes a SELECT query and returns all records found for the specified field.
 
auto All () -> std::vector< Record >
 Executes a SELECT query and returns all records found for the specified field, only having the specified fields queried and populated.
 
std::optional< Record > First ()
 Executes a SELECT query for the first record found and returns it.
 
auto First () -> std::optional< ReferencedFieldTypeOf< Field > >
 Executes the query to get a single scalar value from the first record found.
 
auto First () -> std::optional< Record >
 Executes a SELECT query for the first record found and returns it with only the specified fields populated.
 
std::vector< Record > First (size_t n)
 Executes a SELECT query for the first n records found and returns them.
 
std::vector< Record > First (size_t n)
 
std::vector< Record > Range (size_t offset, size_t limit)
 Executes a SELECT query for a range of records and returns them.
 
std::vector< Record > Range (size_t offset, size_t limit)
 
- Protected Member Functions inherited from Lightweight::SqlCoreDataMapperQueryBuilder< Record, SqlAllFieldsQueryBuilder< Record > >
LIGHTWEIGHT_FORCE_INLINE SqlCoreDataMapperQueryBuilder (SqlStatement &stmt, std::string fields) noexcept
 

Detailed Description

template<typename Record>
class Lightweight::SqlAllFieldsQueryBuilder< Record >

Represents a query builder that retrieves all fields of a record.

Definition at line 566 of file QueryBuilders.hpp.


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