Lightweight 0.20260303.0
Loading...
Searching...
No Matches
Lightweight::DataMapperOptions Struct Reference

#include <QueryBuilders.hpp>

Public Attributes

bool loadRelations { true }
 Whether to automatically load relations when querying records.
 

Detailed Description

Structural type for options for DataMapper queries. This allows to configure behavior of the queries at compile time when using query builder directly from the DataMapper

Definition at line 21 of file QueryBuilders.hpp.

Member Data Documentation

◆ loadRelations

bool Lightweight::DataMapperOptions::loadRelations { true }

Whether to automatically load relations when querying records.

Definition at line 24 of file QueryBuilders.hpp.


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