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

Types: Improve type mappings #24

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Types: Improve type mappings #24

wants to merge 1 commit into from

Conversation

amotl
Copy link
Member

@amotl amotl commented Jan 16, 2024

About

  • Consequently use upper-case type definitions from sqlalchemy.types
  • Add timestamp without time zone types (scalar and array)
  • On SQLAlchemy 2, map real and double{_precision} types to the
    newly introduced sqltypes.{DOUBLE,DOUBLE_PRECISION} types

All of this is intended to improve reverse type lookups / reflections.

References

Backlog

  • Software tests.
  • Just a short note(s) about type support within the documentation.

@amotl amotl changed the title Types: Improve type mapping for scalars and arrays Types: Improve type mappings Jan 16, 2024
@amotl amotl force-pushed the amo/more-typemapping branch 3 times, most recently from daa7029 to fea2527 Compare January 16, 2024 01:36
- Consequently use upper-case type definitions from `sqlalchemy.types`
- Add `timestamp without time zone` types (scalar and array)
- On SQLAlchemy 2, map `real` and `double{_precision}` types to the
  newly introduced `sqltypes.{DOUBLE,DOUBLE_PRECISION}` types

All of this is intended to improve reverse type lookups / reflections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant