edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

Automatic parameter extraction with Query Builder

Open scotttrinh opened this issue 10 months ago • 2 comments

We often have queries built with the query builder where literals are inlined into the query itself. That is typically fine, but if you have a large array or json inlined, the server spends a bunch of time tokenizing it. It should be extracted into a parameter, and we should be able to detect at least these bad cases.

scotttrinh avatar Sep 01 '23 16:09 scotttrinh