For example in insert, it would be nice to be able to do insert({author: ent}) instead of insert({authorId: ent._id})
Similarly when looking up by an index: get("author", ent) in place of get("authorId", ent._id)
Multiple cardinality edges use edge names but only take lists of IDs. They could support passing in lists of Ents (from which the ._id can be automatically retrieved).
For example in
insert
, it would be nice to be able to doinsert({author: ent})
instead ofinsert({authorId: ent._id})
Similarly when looking up by an index:
get("author", ent)
in place ofget("authorId", ent._id)
Multiple cardinality edges use edge names but only take lists of IDs. They could support passing in lists of Ents (from which the ._id can be automatically retrieved).