SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Parameterize `QueryExpr` storing actual values in a separate list

Open Centril opened this issue 1 year ago • 1 comments

Like how we extracted out the sources with SourceSet, we should extract e.g., 42 in a query SELECT * FROM bar WHERE bar.id = 42 and instead insert a symbolic pointer, ParamId(0).

This will allow us to reuse queries even more and cache them, as well as adding prepared statements.

Centril avatar Mar 21 '24 19:03 Centril

This is part of https://github.com/clockworklabs/SpacetimeDB/issues/1089.

Centril avatar Apr 12 '24 18:04 Centril