edgedb-examples
better-sql
edgedb-examples | better-sql | |
---|---|---|
3 | 2 | |
55 | 25 | |
- | - | |
8.0 | 0.0 | |
5 days ago | over 1 year ago | |
TypeScript | TypeScript | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
edgedb-examples
-
Build your own documentation chatbot with ChatGPT and EdgeDB
Create a docs folder in the root of the project. Here we will place our Markdown documentation files. You can grab the files we use from the example project’s GitHub repo or add your own. (If you use your own, you may also want to adjust the system message we send to OpenAI later.)
-
some beginner questions about edgedb
EdgeDB employee here. Regarding tech stacks, we're seeing the most adoption in the JS/TypeScript ecosystem, especially Next.js and Remix users. That's followed by Python then Go. We've been prioritizing Deno and will be working in the near future to make our query builder Deno-compatible as well. You can see an (very simplistic) example project showing how to use EdgeDB in a Deno Fresh app: https://github.com/edgedb/edgedb-examples/tree/main/deno-fresh
-
EdgeDB 2.0
We're still working out the kinks, but some form of this will definitely be possible.
You can already hack this by defining access policies and writing an EdgeQL proxy server that authenticates incoming requests, sets the appropriate global, and forwards the query to the database. There's a Python/Flask implementation of this pattern here[0].
We also have a JavaScript example app demonstrating access policies to simplify authorization logic using Next.js/getServerSideProps[1] and a user management platform you may have heard of called Clerk[2] :)
[0] https://github.com/edgedb/edgedb-examples/tree/main/flask-pr...
[1] https://github.com/edgedb/edgedb-examples/blob/main/nextjs-a...
[2] https://clerk.dev/
better-sql
-
Steampipe – Select * from Cloud;
The ergonomics issue of SQL can be workaround by transpiler.
I do like SQL the syntax but it's hard to discard the ecosystem around SQL.
For instance, I made better-sql [1] recently which generate SQL from a language similar to GraphQL and EdgeDB query language.
[1] https://better-sql.surge.sh
-
EdgeDB 2.0
I'm working on a npm package [1] that "transpile" from a syntax inspired by edgedb into raw sql. I've implemented select columns, join tables and where statements. Still having more to work on (e.g. order by, group by, aggregate function, and more important, the readme)
[1] https://github.com/beenotung/better-sql
What are some alternatives?
vlcn-orm - Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.
edgedb-go - The official Go client library for EdgeDB
edgedb-cli - The EdgeDB CLI
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
steampipe-mod-aws-thrifty - Are you a Thrifty AWS dev? This mod checks your AWS accounts for unused and under-utilized resources using Powerpipe and Steampipe.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
steampipe-plugin-sdk - Steampipe Plugin SDK is a simple abstraction layer to write a Steampipe plugin. Plugins automatically work across all engine types including the Steampipe CLI, Postgres FDW, SQLite extension and the export CLI.
imdbench - IMDBench — Realistic ORM benchmarking
steampipe-plugin-tailscale - Use SQL to instantly query Tailscale resources. Open source CLI. No DB required.