ctrliq / pika

ORM style SQL builder with AIP-160 Support
Apache License 2.0
5 stars 4 forks source link

Handle filters with missing arguments #5

Closed tmlbl closed 10 months ago

tmlbl commented 10 months ago

Currently, if the user provides a filter string using a named argument, but fails to include the argument in the "args" map, Pika will build and attempt to execute the query anyway, resulting in a native SQL syntax error which does not do a good job of telling the user what happened.

We should be able to detect a broken query before sending it to the database engine.