From 6691e1a022ac0c7ee88ffb0367f3ea406d37e87c Mon Sep 17 00:00:00 2001 From: Diana Clarke Date: Sun, 23 Dec 2012 18:15:12 -0500 Subject: [PATCH] fixing typos in the types docs (see #2639) --- doc/build/core/types.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/build/core/types.rst b/doc/build/core/types.rst index 6a74631414..e59c81fc0e 100644 --- a/doc/build/core/types.rst +++ b/doc/build/core/types.rst @@ -197,13 +197,13 @@ Database-specific types are also available for import from each database's dialect module. See the :ref:`sqlalchemy.dialects_toplevel` reference for the database you're interested in. -For example, MySQL has a ``BIGINTEGER`` type and PostgreSQL has an +For example, MySQL has a ``BIGINT`` type and PostgreSQL has an ``INET`` type. To use these, import them from the module explicitly:: from sqlalchemy.dialects import mysql - table = Table('foo', meta, - Column('id', mysql.BIGINTEGER), + table = Table('foo', metadata, + Column('id', mysql.BIGINT), Column('enumerates', mysql.ENUM('a', 'b', 'c')) ) @@ -211,10 +211,10 @@ Or some PostgreSQL types:: from sqlalchemy.dialects import postgresql - table = Table('foo', meta, + table = Table('foo', metadata, Column('ipaddress', postgresql.INET), - Column('elements', postgresql.ARRAY(str)) - ) + Column('elements', postgresql.ARRAY(String)) + ) Each dialect provides the full set of typenames supported by that backend within its `__all__` collection, so that a simple -- 2.47.2