edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

Support object-getter functions

Open colinhacks opened this issue 3 years ago • 0 comments

e.select(e.User("abcdef123..."), ()=>({
  // shape
}))

as shorthand for

e.select(e.User, ()=>({
  // shape
  filter: e.op(user.id, '=', e.uuid("abcdef123..."))
}))

colinhacks avatar Aug 03 '22 01:08 colinhacks