|
Lightweight 0.20260617.0
|
Represents a query builder that retrieves all fields of a record. More...
#include <QueryBuilders.hpp>
Additional Inherited Members | |
Public Member Functions inherited from Lightweight::SqlCoreDataMapperQueryBuilder< Record, Derived, QueryOptions > | |
| auto | Exist () |
| auto | Count () |
| Executes a SELECT COUNT query and returns the number of records found. | |
| auto | All () |
| Executes a SELECT query and returns all records found. | |
| auto | Delete () |
| Executes a DELETE query. | |
| template<auto Field> requires std::is_member_object_pointer_v<decltype(Field)> | |
| auto | All () |
| Executes a SELECT query and returns all records found for the specified field. | |
| template<auto... ReferencedFields> requires (sizeof...(ReferencedFields) >= 2) | |
| auto | All () |
| Executes a SELECT query and returns all records found for the specified field, only having the specified fields queried and populated. | |
| auto | First () |
| Executes a SELECT query for the first record found and returns it. | |
| template<auto Field> requires std::is_member_object_pointer_v<decltype(Field)> | |
| auto | First () |
| Executes the query to get a single scalar value from the first record found. | |
| template<auto... ReferencedFields> requires (sizeof...(ReferencedFields) >= 2) | |
| auto | First () |
| Executes a SELECT query for the first record found and returns it with only the specified fields populated. | |
| auto | First (size_t n) |
| Executes a SELECT query for the first n records found and returns them. | |
| template<auto... ReferencedFields> | |
| auto | First (size_t n) |
| Executes a SELECT query for the first n records with only the specified fields populated. | |
| auto | Range (size_t offset, size_t limit) |
| Executes a SELECT query for a range of records and returns them. | |
| template<auto... ReferencedFields> | |
| auto | Range (size_t offset, size_t limit) |
| Executes a SELECT query for a range of records with only the specified fields populated. | |
Protected Member Functions inherited from Lightweight::SqlCoreDataMapperQueryBuilder< Record, Derived, QueryOptions > | |
| LIGHTWEIGHT_FORCE_INLINE | SqlCoreDataMapperQueryBuilder (DataMapper &dm, std::string fields) noexcept |
| Constructs a query builder with the given data mapper and field list. | |
Represents a query builder that retrieves all fields of a record.
| Execution | Whether the finisher methods execute synchronously or asynchronously. DataMapper::Query selects Synchronous, DataMapper::QueryAsync selects Asynchronous; the rest of the fluent builder is identical for both. |
Definition at line 276 of file QueryBuilders.hpp.