Skip to content

graflo.db.postgres.types

PostgreSQL type mapping.

The table itself is dialect-neutral and lives in :mod:graflo.db.sql.types; this is the PostgreSQL name for it, kept because it is public API and because a PostgreSQL-only spelling belongs here if one is ever needed.

Attributes

__all__ = ['PostgresTypeMapper'] module-attribute

Classes

PostgresTypeMapper

Bases: SqlTypeMapper

Maps PostgreSQL data types to graflo Field types.

Source code in graflo/db/postgres/types.py
class PostgresTypeMapper(SqlTypeMapper):
    """Maps PostgreSQL data types to graflo Field types."""