]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixing typos in the types docs (see #2639)
authorDiana Clarke <diana.joan.clarke@gmail.com>
Sun, 23 Dec 2012 23:15:12 +0000 (18:15 -0500)
committerDiana Clarke <diana.joan.clarke@gmail.com>
Sun, 23 Dec 2012 23:15:12 +0000 (18:15 -0500)
doc/build/core/types.rst

index 6a74631414f0dd54f42e5fc22955931f79fb93a8..e59c81fc0e4234995d975fa72090ae6ee0e1012e 100644 (file)
@@ -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