edgedb / edgedb-net

The official .NET client library for EdgeDB
https://edgedb.com
Apache License 2.0
82 stars 9 forks source link

[Feature request] Ability to print generated query string with inlined parameters to aid debugging #72

Open Darkle opened 1 year ago

Darkle commented 1 year ago

It would be super handy if it were possible to be able to log/print the query string Edgedb.Net constructs, including inlined parameters.

e.g. SELECT <str>$param with "abc" as the parameter would be SELECT "abc"

Being able to see the completed constructed query string (including the inlined parameters) would aid greatly in debugging.

Relevant thread: https://discord.com/channels/841451783728529451/950503041889628200/1158240973093093417

Cheers.