edgedb-js
edgedb-js copied to clipboard
The official TypeScript/JS client library and query builder for EdgeDB
The proposals here are compatible with https://github.com/edgedb/edgedb-js/issues/347: "object filter syntax" ```ts e.select(e.Movie, ()=>({ // exclusive prop filter: { id: "abcd..." } // composite exclusive prop filter: { title: "Iron Man",...
Allow inserting multiple objects by accepting an array as second argument to `e.insert` ```ts e.insert(e.Movie, [ { title: 'Star Wars: A New Hope' }, { title: 'Star Wars: Empire Strikes...
Fixes my previous PR (#416) also introducing invalid syntax to the group example. Also fixes a couple other issues I found along the way, hopefully we're set after this.
Would be great to use the query builder on react native. My goal is to use the query builder to construct my query and then send it to a proxy...
```ts const query = e .insert(e.Movie, { title: "Harry Potter", rating: 5, }) .unlessConflict(movie => ({ on: movie.title, else: e.update(movie, () => ({ set: { rating: e.op(movie.rating, "+", 1), },...
In addition to the current approach (reflecting EdgeQL and the EdgeDB typesystem into a query builder API), I propose a more GraphQL-like workflow. ### `*.edgeql` files Queries are written as...
This PR adds support for a `--target deno` via the query builder cli. The cli itself still requires the use of `npx` due to the `syntax` folder not being compatible...
My code looks as follows: * One repository contains my database and my migrations, it gets deployed using CI/CD. * Another repository contains a frontend codebase which uses edgeql-js, which...
I'm trying to run edgedb-js tests, but I run into ``` ❯ yarn test Determining test suites to run... Starting EdgeDB test cluster... Node status file: /var/folders/nb/29vclp9d5494mj6lj4786m2w0000gn/T/edgedb-js-status-file-node-991107731 /bin/sh: edgedb-server: command...