Skip to content

Glossary: PostgreSQL for Developers

type hint

Also written: Mapped

A colon after a name and then the type it holds, like name: str. Python ignores hints, but SQLAlchemy reads them, so Mapped[str | None] means text or NULL.

Where the book teaches it

Related terms

classSQLAlchemy