Files
turso/core
Pekka Enberg 387b68fc06 Merge 'Expose 'Explain' to prepared statement to allow for alternate Writer ' from Preston Thorpe
### The problem:
I often need to copy the output of an `Explain` statement to my
clipboard. Currently this is not possible because it currently will only
write to stdout.
All other limbo output, I am able to run `.output file` in the CLI, then
enter my query and in another tmux pane I simply `cat file | xclip -in
-selection clipboard`.
### The solution:
Expose a `statement.explain()` method that returns the query explanation
as a string. If the user uses something like `execute` instead of
prepare, it will default to `stdout` as expected, but this allows the
user to access the query plan on the prepared statement and do with it
what they please.

Closes #1166
2025-03-28 09:55:58 +02:00
..
2025-03-24 13:17:57 +02:00
2025-03-24 22:48:07 -04:00
2025-03-27 17:53:02 +01:00
2025-03-24 22:48:07 -04:00
2025-03-27 17:53:02 +01:00
2025-03-25 17:13:31 +02:00
2025-03-27 17:53:02 +01:00
2025-01-28 14:55:38 -05:00
2025-03-25 14:17:31 +01:00
2025-03-05 14:07:48 +01:00
2025-01-28 14:55:38 -05:00
2025-02-11 09:03:36 -04:00
2025-02-06 13:40:34 +02:00
2024-12-24 18:04:30 +01:00
2025-03-27 17:54:32 +01:00
2025-03-24 20:21:09 -03:00