chdb-io / chdb-go

Go bindings and cli for chDB, an in-process SQL OLAP Engine powered by ClickHouse
https://chdb.io
Apache License 2.0
84 stars 3 forks source link

Add arguments compilation trough sqlbuilder #10

Closed agoncear-mwb closed 4 months ago

agoncear-mwb commented 4 months ago

This pr try to compile the provided arguments using go-sqlbuilder library. At the current state, the driver just discards the argument without even notifying the caller about this. If we don't want to bother the driver with the responsability of compiling the arguments, we should at least return an error if any argument is provided so, at least, the caller know about this.

auxten commented 4 months ago

Thanks, it's really helpful!