edgedb-js
edgedb-js copied to clipboard
Deno example
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?
Looking for information on this too, trying to utilise the query builder when using Deno just doesn't seem to work.
The query builder seems to be node specific currently.
@jaclarke is there any formal documentation around QB with Deno? If not are there any work arounds to get this working?
Thanks a lot
Currently the querybuilder doesn't really support Deno. The actual querybuilder part itself is all just plain typescript so should work fine with deno, but the codegen part I think still uses a few node api's and needs a little work generate deno compatible imports/etc. As a workaround until this is fixed, I believe someone had some success on the edgedb discord with generating the querybuilder using npx, and fixing the generated imports, though I haven't really looked into this, so it may not be a simple workaround.