renamed fetch types to be pascal case
This commit is contained in:
@@ -10,10 +10,9 @@ namespace matador::utils {
|
||||
*
|
||||
* Defines fetch types for foreign relations
|
||||
*/
|
||||
enum class fetch_type : uint8_t
|
||||
{
|
||||
LAZY, /**< Indicates lazy fetch */
|
||||
EAGER /**< Indicates eager fetch */
|
||||
enum class fetch_type : uint8_t {
|
||||
Lazy, /**< Indicates lazy fetch */
|
||||
Eager /**< Indicates eager fetch */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -25,12 +25,13 @@ public:
|
||||
|
||||
private:
|
||||
cascade_type cascade_{cascade_type::NONE};
|
||||
fetch_type fetch_{fetch_type::LAZY};
|
||||
fetch_type fetch_{fetch_type::Lazy};
|
||||
};
|
||||
|
||||
const foreign_attributes CascadeNoneFetchLazy {};
|
||||
const foreign_attributes CascadeAllFetchLazy {cascade_type::ALL, fetch_type::LAZY};
|
||||
const foreign_attributes CascadeAllFetchEager {cascade_type::ALL, fetch_type::EAGER};
|
||||
const foreign_attributes CascadeNoneFetchEager {fetch_type::Eager};
|
||||
const foreign_attributes CascadeAllFetchLazy {cascade_type::ALL, fetch_type::Lazy};
|
||||
const foreign_attributes CascadeAllFetchEager {cascade_type::ALL, fetch_type::Eager};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user