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

Support nested inserts with plain data

Open colinhacks opened this issue 3 years ago • 0 comments

Describe the proposed feature A clear and concise description of the syntax, what you want to happen, and why it's needed.

e.insert(e.Movie, {
  title: "Movie",
  actors: [{ name: "Bob"}, { name: "Alice"}]
})

This will get compiled as a for loop under the hood.

colinhacks avatar Jul 07 '22 23:07 colinhacks