大整数
class BigInteger(Integer):
"""A type for bigger ``int`` integers.
Typically generates a ``BIGINT`` in DDL, and otherwise acts like
a normal :class:`.Integer` on the Python side.
"""
__visit_name__ = 'big_integer'
Run Code Online (Sandbox Code Playgroud)
大数据
class BIGINT(BigInteger):
"""The SQL BIGINT type."""
__visit_name__ = 'BIGINT'
Run Code Online (Sandbox Code Playgroud)
但是 Column(BigInteger) 和 Column(BIGINT) 都可以工作,都可以在 postgresql 中定义一个 bigint。如何区分它们?