elastic / elasticsearch-sql-odbc

ODBC driver for Elasticsearch SQL
Other
0 stars 30 forks source link

CBOR support for parameters #175

Closed bpintea closed 5 years ago

bpintea commented 5 years ago

This PR adds the support for sending the parameters encapsulated as CBOR.

The implementation makes use of the already available parameter conversion functionality, which prepares the parameter values as strings. Consequently, except NULL values (and type), the values will be sent as strings and have the server do a final conversion to the signaled SQL type (which is actually also the case with JSON).