An example of how to define a column with core could be:
id = Column(Integer, primary_key=True)
A similar way to define the same column with orm in SQLAlchemy 2.0 is:
id: Mapped[int] = mapped_column(primary_key=True)
But what if we need to define a sequence name? With core we do:
id = Column(Integer, Sequence('sequence_name'), primary_key=True)
How can we define sequence names with orm in SQLAlchemy 2.0?
Seems that a ‘sequence’ attribute doesn`t exits in mapped_column.
Does anyone knows how to do it or how to find it in the docs?
Thanks a lot.