-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for tuple exchange format for codec overrides
Connection.set_type_codec() now accepts a new `format` keyword argument. When set to 'tuple', it declares that the custom codec exchanges data with the driver in a type-specific tuple format. This allows using custom codecs for types without the need to parse the raw binary or text data format. This commit adds tuple exchange support for all date-time types. The `binary` keyword argument to set_type_codec() is now deprecated in favor of `format='text'` and `format='binary'`.
- Loading branch information
Showing
10 changed files
with
583 additions
and
92 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
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.
0453243
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍