Add support for splats in shapes
See original GitHub issueIs there a way to get all the attributes of an object, maybe on the first level.
these statements do not work, (not explained in the documentation).
SELECT User {};
SELECT User {*};
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:16 (13 by maintainers)
Top Results From Across the Web
Splat ® - Design a playground - YouTube
Splats can be purchased via our website or US Amazon. Please see the links below.Freebies - https://splat3d.com/resources/What is a Splat ?
Read more >Splat Shape - Etsy
Check out our splat shape selection for the very best in unique or custom, handmade pieces from our shops.
Read more >6 Point Stretch Shape (Splat) Stretchy Screens
Our premium 6-point stretch shapes can be used to project images and scenic elements using front or rear projection. They're also excellent for...
Read more >Create an Ink Splat Composite Effect - An Awesome Guide
Watch this episode of Final Cut Pro Help Live for steps to create an ink splat effect.
Read more >TickiT-72397 Splats - Set of 10 - Color Mixing and Matching ...
Unique shape for color mixing. The extended arms on these splat shapes are perfect for overlapping on each other to create new colors....
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 FreeTop 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
Top GitHub Comments
We’re now considering adding support for splats in shapes:
Using
...
makes more sense than*
since it’s more readable to a non-Python programmer and is similar to the corresponding GraphQL syntax.Just a suggestion from a new user, I was looking for a way to quickly inspect objects inside of the egdedb interactive REPL and found my way to this issue.
I find it useful during development to be able to poke around the database and play with objects, modify them, delete them, before the application is completely working. People who have tried Elixir and iex will understand how amazing solid introspection can be. At the moment it’s a lot of typing to select properties, even if autocomplete is outstanding.
This is not very useful when the cardinality is one, especially if a User has a lot of table properties to keep them localised in memory/on disk.
It would be a lot more ergonomic to either have a wildcard operator or just be a lot more verbose in the REPL, possibly run a count on links, …
I also understand the wish to keep EdgeQL as “unpolluted” as possible, perhaps this could be an extension of the REPL, or a GUI browser such as Prisma Studio (even if I find REPL more ergonomic)?