edgedb-js
edgedb-js copied to clipboard
The official TypeScript/JS client library and query builder for EdgeDB
**Describe the proposed feature** Support running scripts consisting of query builder expressions. ```ts e.script([ e.insert(...), e.select(...), // ... ]).run(client) ``` The type and cardinality will be pulled from the last...
**Describe the proposed feature** A clear and concise description of the syntax, what you want to happen, and why it's needed. ```ts e.insert(e.Movie, { title: "Movie", actors: [{ name: "Bob"},...
## Error ``` error: Uncaught (in promise) Error: a number was expected, got "336465356304678913" throw new Error(`a number was expected, got "${object}"`); ^ at Int64Codec.encode (file:///home/tricked/coding/aethor/vendor/deno.land/x/[email protected]/_src/codecs/numbers.ts:26:13) at ObjectCodec._encodeNamedArgs (file:///home/tricked/coding/aethor/vendor/deno.land/x/[email protected]/_src/codecs/object.ts:156:15) ```...
Simply wondering how to use query builder with deno without the need of having `npx` available in the environment. Is there any documentation on how to use it with deno?
https://discord.com/channels/841451783728529451/988173463732772895/988186281529974814 It's common for datatypes that don't have a native js/json type to be encoded as strings (eg. int64, datetime/temporal, etc), so if the wrong datatype is passed as a...
A proposal for simplified `filter` syntax for _equality filters_. The goal is to expand the scope of cardinality inference and provide a less verbose alternative to `e.op(x, "=", y)` when...
With my devops hat on, getting plaintext logs sent to `console` is really itchy; my normal environments all use Pino (or, for older ones, Bunyan) in order to emit structured...
I'm getting an error over address and image when trying to filter them through an ID. Seems like a cardinality inference error which I don't think it should be the...
We currently don't implement a codec for decimals. I vote we use the Decimal.js to represent these values until a proper `Decimal` type lands in JS. It's a de facto...