Add edgedb adapter
See original GitHub issueDescription 📓
Edgedb is an awesome graph database. It reached 1.0 not so long ago and it has a similar developer experience as prisma, with a type-safe query builder. It would be awesome to include an adapter for it. Here’s a link if you’re not familiar with it.
How to reproduce ☕️
export default function EdgedbAdapter(client, options = {}) {
return {
async createUser(user) {
return client.querySingle(`insert User {
name := <str>$name
email := <str>$email
}`, user)
},
// ...rest of the methods
}
}
Contributing 🙌🏽
Yes, I am willing to help implement this feature in a PR
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Building a GitHub OAuth application — Tutorials | EdgeDB Docs
There is a community-supported Elixir driver for EdgeDB. In this tutorial, we'll look at how you can create an application with authorization through...
Read more >Quickstart — Get Started | EdgeDB Docs
This quickstart will walk you through the entire process of creating a simple EdgeDB-powered application: installation, defining your schema, adding some ...
Read more >String Functions and Operators — Standard Library - EdgeDB
Some of the type converter functions take an extra argument specifying the formatting (either for converting to a str or ... B.C., b.c.,...
Read more >How we converted our Node.js library to Deno (using Deno)
This way, we can make edgedb-js Deno-compatible by simply rewriting all imports of adapter.node.ts to adapter.deno.ts . As long as these files ...
Read more >Insert — TypeScript / JS | EdgeDB Docs
const query = e.insert(e.Movie, { title: "Iron Man", actors: e.select(e.Person, person => ({ filter_single: {name: "Robert Downey Jr."}, "@character_name": ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thought i would receive an email notification, so missed this until now. I had started doing a kind of EdgeDB adapter some months ago, i have to review it to see how far along it was. Starting from Prisma’s implementation sounds like a good idea!
Hi @brielov I’m game for a PR. Maybe we can hit up someone at EdgeDB to see if they have any interest or ability to help as well. We should be able to get this done.