This looks really cool! Are you going to support some kind of subscriptions for realtime?
Show HN: EdgeDB 1.0
51–60 of 332 posts
Re: Show HN: EdgeDB 1.0
#52Won't the functional variant read better than the SQL dialect movie_reviews .filter(_.actor.name.lowercase() == "Zendaya") .groupBy(_.title, _.credit_order, avg(_.ratings)) .sortBy(_.credit_order) .take(5) vs. select Movie { title, rating := math::mean(.ratings.score) actors: { name } order by @credits_order limit 5, } filter "Zendaya" in .actors.name
That said, the functional variant is a likely way to represent EdgeQL in programming languages.
Re: Show HN: EdgeDB 1.0
#53On https://www.edgedb.com/tutorial/basic-queries/objects , if I change "SELECT User.name;" to "SELECT User.Name;" the page crashes with, "Application error: a client-side exception has occurred." It crashes on Chrome and Edge.
Re: Show HN: EdgeDB 1.0
#54Won't the functional variant read better than the SQL dialect movie_reviews .filter(_.actor.name.lowercase() == "Zendaya") .groupBy(_.title, _.credit_order, avg(_.ratings)) .sortBy(_.credit_order) .take(5) vs. select Movie { title, rating := math::mean(.ratings.score) actors: { name } order by @credits_order limit 5, } filter "Zendaya" in .actors.name
Re: Show HN: EdgeDB 1.0
#55Could someone explain what a graph-relational database is? I'm not able to extract a technical definition from the paragraph below: "What is a graph-relational database? EdgeDB is built on an extension of the relational data model that we call the graph-relational model. This model completely eliminates the object-relational impedance mismatch while retaining the solid basis of and performance of the classic relation…
(EdgeDB CTO here) In a classic relational model everything is a tuple containing scalar values. Graph-relational extends the relational data model in three ways: - every relation always has a global immutable key independent of data (explicit autoincrement keys aren't needed) - this enables us to add a "reference type", which is essentially a pointer to some other record (i.e. a foreign key) - attributes can be set-v…
Re: Show HN: EdgeDB 1.0
#56Re: Show HN: EdgeDB 1.0
#57Would a graphql API be part of your roadmap?
Re: Show HN: EdgeDB 1.0
#58Looks great. Will try this out! Would a graphql API be part of your roadmap?
Re: Show HN: EdgeDB 1.0
#59The query language reminds me a lot of JPA, which makes sense because this is essentially an ORM layer on top of Postgres.
Re: Show HN: EdgeDB 1.0
#60Won't the functional variant read better than the SQL dialect movie_reviews .filter(_.actor.name.lowercase() == "Zendaya") .groupBy(_.title, _.credit_order, avg(_.ratings)) .sortBy(_.credit_order) .take(5) vs. select Movie { title, rating := math::mean(.ratings.score) actors: { name } order by @credits_order limit 5, } filter "Zendaya" in .actors.name