You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// select only user, all ref fields fetched as refs by defaultval user = query<UserExt>(UserExt::name eq "user")
assertTrue(user.father isUser)
assertTrue(user.mother isUser)
// select user and his fatherval queryGraph = root(UserExt::class) {
UserExt::father fetchAs UserExt::class
}
val userWithFather = query<UserExt>(UserExt::name eq "user")
assertTrue(user.father isUser)
assertTrue(user.mother isUserId)
Motivation: provide user simple way to express exact form required entites graph
The general idea is following
First of all, allow user to create several classes with different fields mapped to the same entity collection:
And then allow user to define refs in schema definition:
And finally allow user to express adhoc query:
Motivation: provide user simple way to express exact form required entites graph
Problems/questions:
Relates to: #51
The text was updated successfully, but these errors were encountered: