start to implement session::find()
This commit is contained in:
parent
5d06a13775
commit
be9f66c427
|
|
@ -39,7 +39,12 @@ 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