edgedb-js
edgedb-js copied to clipboard
The official TypeScript/JS client library and query builder for EdgeDB
Fixes #277 Blocked on https://github.com/edgedb/edgedb/issues/3569
``` e.select(e.User("abcdef123..."), ()=>({ // shape })) ``` as shorthand for ``` e.select(e.User, ()=>({ // shape filter: e.op(user.id, '=', e.uuid("abcdef123...")) })) ```
**Describe the proposed feature** A clear and concise description of the syntax, what you want to happen, and why it's needed. Add the ability to create fully stateless clients that...
**Describe the bug** When using the generated client library from `npx edgeql-js`, running `next build` results in this error: ``` ./dbschema/edgeql-js/syntax/toEdgeQL.ts:1025:14 Type error: Function declarations are not allowed inside blocks...
https://discord.com/channels/841451783728529451/849374705210490900/1002885100591128577 And add some docs on writing generic queries on top with the QB
Right now you can't get link properties from a backlink. This means you can't filter the backlink, or grab data from that edge. I am not sure if this an...
I'm trying to use Deno and EdgeDB together in a new framework called Fresh, but I'm running into the TLS issue [EdgeDB-Deno](https://github.com/edgedb/edgedb-deno#tls). After reading the solution proposed, I'm still not...
Proposal: provide a template tag for writing sanitized EdgeQL queries. ### User input ```typescript import {edgeql} from "edgedb"; const query = edgeql`insert User { title := ${req.body.title}}` // => {...