Compare commits
No commits in common. "be9f66c4278681e54c0dd371c2348caa0ba557d8" and "4a04a678f9bae75d7cc20a5a0e4e66e04b70b4f5" have entirely different histories.
be9f66c427
...
4a04a678f9
|
|
@ -33,8 +33,6 @@ public:
|
|||
pointer get() { return obj_.get(); }
|
||||
const value_type* get() const { return obj_.get(); }
|
||||
|
||||
operator bool() const { return obj_.get() != nullptr; } // NOLINT(*-explicit-constructor)
|
||||
|
||||
private:
|
||||
std::shared_ptr<value_type> obj_;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -39,12 +39,7 @@ public:
|
|||
}
|
||||
// collect all columns
|
||||
// - evaluate fetch::Eager flag for relations
|
||||
auto info = schema_->info<Type>();
|
||||
if (!info) {
|
||||
return {};
|
||||
}
|
||||
|
||||
c->query(*schema_).select({}).from(info->name);
|
||||
// build pk where condition
|
||||
// - check if type has pk
|
||||
// - check type
|
||||
|
|
|
|||
Loading…
Reference in New Issue