You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated Go code takes a FilterExpr function that returns (string, error), maybe implementing a generic interface so it's easy to wrap existing Go SQL codegen.
If we implement an interface, we should move it to a different library so folks don't have to depend on the relatively heavyweight dependencies of pggen, namely Docker.
pggen calls FilterExpr and injects code as-is into the query.
The text was updated successfully, but these errors were encountered:
Use case is to enable queries with dynamic expressions for WHERE clauses, like:
Sketch:
FilterExpr
function that returns(string, error)
, maybe implementing a generic interface so it's easy to wrap existing Go SQL codegen.The text was updated successfully, but these errors were encountered: