crystal
crystal copied to clipboard
GraphiQL / Explain Improvements
- [ ] Add option to enable analyze on queries only
- [ ] Add option to export as JSON rather than text (for import into https://tatiyants.com/pev/#/plans/new)
- [ ] Add button (or similar) to easily copy the SQL query or explain results
maybe im just not used to it, but is it possible to improve the readability?
select to_json(dob) as "__dob"
from users as __local_0__
where (
__local_0__.id = $1
) and (TRUE) and (TRUE)
is hard to parse what is going on, or perhaps there is a guide on how to understand it?
Related:
- https://github.com/graphile/crystal-pre-merge/issues/388
- https://github.com/graphile/crystal-pre-merge/issues/413
- https://github.com/graphile/crystal/pull/1618
@hyusetiawan FYI the SQL in V5 is significantly easier to understand: