-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CBOR support for parameters This commit adds the support for sending the paramters encapsulated as CBOR. The implementation makes use of the already available paramter conversion functionality, which prepares the parameters as string values. 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). * split CBOR param value encoding by meta type - for SQL_VARCHAR targets, the JSON parameter serialization adds the quotes, which need to be stripped before CBOR-packing the result. This commit also change the integer types of two vars, to avoid signed/unsigned comparision warnings. * address PR review note - correct comment phrasing.
- Loading branch information
Showing
3 changed files
with
222 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.