Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB-API: Provide type objects and constructors #175

Open
Totktonada opened this issue Aug 29, 2020 · 0 comments
Open

DB-API: Provide type objects and constructors #175

Totktonada opened this issue Aug 29, 2020 · 0 comments
Labels
Database API feature A new functionality

Comments

@Totktonada
Copy link
Member

https://www.python.org/dev/peps/pep-0249/#type-objects-and-constructors

The standard defines the following type objects:

  • STRING type
  • BINARY type (supported in tarantool since 2.2.0-645-gb4e61e1b6)
  • NUMBER type
  • DATETIME type (not supported in tarantool yet)
  • ROWID type (not supported in tarantool)

The standard also defines a set of constructors for those types. All of them are relevant to DATETIME except the following:

  • Binary(string)

Let's provide types, which is supported in tarantool. Let's decide how to better deal with types, which are not supported in tarantool and which are supported in some versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Database API feature A new functionality
Projects
None yet
Development

No branches or pull requests

2 participants