renamed fetch types to be pascal case
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
|
||||
template<class ContainerType>
|
||||
void on_has_many(const char * /*id*/, ContainerType &, const char *, const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
return;
|
||||
}
|
||||
if (!repo_) {
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
|
||||
template<class ContainerType>
|
||||
void on_has_many_to_many(const char * /*id*/, ContainerType & /*cont*/, const char *join_column, const char *inverse_join_column, const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
return;
|
||||
}
|
||||
push(join_column);
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
private:
|
||||
template<class Pointer>
|
||||
void on_foreign_key(const char *id, Pointer &, const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy || is_column_generator_option_set(options_, column_generator_options::ForceLazy)) {
|
||||
push(id);
|
||||
} else {
|
||||
if (!repo_) {
|
||||
|
||||
Reference in New Issue
Block a user