diff options
| author | Sebastián Ramírez <tiangolo@gmail.com> | 2021-04-27 22:22:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-27 22:22:38 +0200 |
| commit | 2af1b107fce34b15898e6f534097ad34cfd7d503 (patch) | |
| tree | e50561975831009be5678dd96f01c8eb7333e692 /doc/build/tutorial | |
| parent | 92a7b65eaeb0255602996f6afec9337256266ab5 (diff) | |
| download | sqlalchemy-2af1b107fce34b15898e6f534097ad34cfd7d503.tar.gz | |
✏️ Fix small typos in "Working with Database Metadata" (#6369)
Diffstat (limited to 'doc/build/tutorial')
| -rw-r--r-- | doc/build/tutorial/metadata.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/tutorial/metadata.rst b/doc/build/tutorial/metadata.rst index 576dd544c..8dc63bdea 100644 --- a/doc/build/tutorial/metadata.rst +++ b/doc/build/tutorial/metadata.rst @@ -60,7 +60,7 @@ Having a single :class:`_schema.MetaData` object for an entire application is the most common case, represented as a module-level variable in a single place in an application, often in a "models" or "dbschema" type of package. There can be multiple :class:`_schema.MetaData` collections as well, however -it's typically most helpful if a series :class:`_schema.Table` objects that are +it's typically most helpful if a series of :class:`_schema.Table` objects that are related to each other belong to a single :class:`_schema.MetaData` collection. @@ -251,7 +251,7 @@ reverse order as it would emit CREATE in order to drop schema elements. Defining Table Metadata with the ORM ------------------------------------ -This ORM-only section will provide an example of the declaring the +This ORM-only section will provide an example declaring the same database structure illustrated in the previous section, using a more ORM-centric configuration paradigm. When using the ORM, the process by which we declare :class:`_schema.Table` metadata @@ -514,7 +514,7 @@ using the :paramref:`_schema.Table.autoload_with` parameter: At the end of the process, the ``some_table`` object now contains the information about the :class:`_schema.Column` objects present in the table, and the object is usable in exactly the same way as a :class:`_schema.Table` that -we declared explicitly.:: +we declared explicitly:: >>> some_table Table('some_table', MetaData(), |
