EXPLAIN QUERY PLAN on QueryInterfaceRequest #1314
sobri909
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you @sobri909 for sharing ❤️ Happy 2023 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Long time no see 😄
Years back I put together a basic
explain()
forDatabase
(#363) and it was good enough for my needs at the time. But these days I'm using more of GRDB's query interface, so throwing in raw SQL is a barrier given I don't have as easy access to it.So now I've thrown together a new little extension on
QueryInterfaceRequest
, and figured I'd share.Example usage
And example output
I don't really have a question. Just figured it'd be rude not to share. That, and I bet I'm doing it a silly way and you can point out why 😉
For reference here's the old one I used to use on
Database
(and probably still will use, when raw SQL suits the needs):Cheers! And happy new year 😄
Beta Was this translation helpful? Give feedback.
All reactions