renamed fetch types to be pascal case
This commit is contained in:
@@ -109,14 +109,14 @@ public:
|
||||
|
||||
template<class ContainerType>
|
||||
void on_has_many_to_many(const char *, ContainerType &, const char * /*join_column*/, const char * /*inverse_join_column*/, const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy) {
|
||||
|
||||
} else {}
|
||||
}
|
||||
|
||||
template<class ContainerType>
|
||||
void on_has_many_to_many(const char *, ContainerType &, const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy) {
|
||||
|
||||
} else {}
|
||||
}
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
template<class ContainerType>
|
||||
void on_has_many(const char * /*id*/, ContainerType &cont, const char * /*join_column*/,
|
||||
const utils::foreign_attributes &attr) {
|
||||
if (attr.fetch() == utils::fetch_type::LAZY) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy) {
|
||||
// pk_reader_.read(*id, column_index_++);
|
||||
} else {
|
||||
const auto ti = std::type_index(typeid(typename ContainerType::value_type::value_type));
|
||||
@@ -197,7 +197,7 @@ private:
|
||||
if (x.empty()) {
|
||||
x.reset(new typename Pointer::value_type);
|
||||
}
|
||||
if (attr.fetch() == utils::fetch_type::LAZY) {
|
||||
if (attr.fetch() == utils::fetch_type::Lazy) {
|
||||
pk_reader_.read(*x, column_index_++);
|
||||
} else {
|
||||
const auto ti = std::type_index(typeid(*x));
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
private:
|
||||
template<class Type>
|
||||
void on_foreign_key(const utils::fetch_type fetch) {
|
||||
if (fetch == utils::fetch_type::LAZY) {
|
||||
if (fetch == utils::fetch_type::Lazy) {
|
||||
++column_index_;
|
||||
} else {
|
||||
const Type obj;
|
||||
|
||||
Reference in New Issue
Block a user