diff options
| author | Lele Gaifax <lele@metapensiero.it> | 2017-05-22 15:03:06 +0200 |
|---|---|---|
| committer | Lele Gaifax <lele@metapensiero.it> | 2017-06-02 23:38:26 +0200 |
| commit | 4779ddd865d693f4c3521fbe200a96b88ed67186 (patch) | |
| tree | 05b2465b927857f08b185fb079dc6c57ad0a5c86 /lib/sqlalchemy/sql/elements.py | |
| parent | ccbd68bb3ce09a013c998e4dcc26c0df7b03f205 (diff) | |
| download | sqlalchemy-4779ddd865d693f4c3521fbe200a96b88ed67186.tar.gz | |
Fix a few doc typos
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
| -rw-r--r-- | lib/sqlalchemy/sql/elements.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py index 1ce03e66a..88c294999 100644 --- a/lib/sqlalchemy/sql/elements.py +++ b/lib/sqlalchemy/sql/elements.py @@ -42,7 +42,7 @@ def collate(expression, collation): mycolumn COLLATE utf8_bin The collation expression is also quoted if it is a case sensitive - identifer, e.g. contains uppercase characters. + identifier, e.g. contains uppercase characters. .. versionchanged:: 1.2 quoting is automatically applied to COLLATE expressions if they are case sensitive. @@ -524,7 +524,7 @@ class ColumnElement(operators.ColumnOperators, ClauseElement): produced featuring the given value embedded into the construct; the resulting :class:`.BindParameter` object is an instance of :class:`.ColumnElement`. The Python value will ultimately be sent - to the DBAPI at execution time as a paramterized argument to the + to the DBAPI at execution time as a parameterized argument to the ``execute()`` or ``executemany()`` methods, after SQLAlchemy type-specific converters (e.g. those provided by any associated :class:`.TypeEngine` objects) are applied to the value. @@ -1011,7 +1011,7 @@ class BindParameter(ColumnElement): value; for example, trivial Python types such as ``str``, ``int``, ``bool`` may result in the :class:`.String`, :class:`.Integer` or - :class:`.Boolean` types being autoamtically selected. + :class:`.Boolean` types being automatically selected. The type of a :func:`.bindparam` is significant especially in that the type will apply pre-processing to the value before it is @@ -2512,7 +2512,7 @@ class Extract(ColumnElement): class _label_reference(ColumnElement): """Wrap a column expression as it appears in a 'reference' context. - This expression is any that inclues an _order_by_label_element, + This expression is any that includes an _order_by_label_element, which is a Label, or a DESC / ASC construct wrapping a Label. The production of _label_reference() should occur when an expression @@ -3308,7 +3308,7 @@ class WithinGroup(ColumnElement): It's supported only by certain database backends, such as PostgreSQL, Oracle and MS SQL Server. - The :class:`.WithinGroup` consturct extracts its type from the + The :class:`.WithinGroup` construct extracts its type from the method :meth:`.FunctionElement.within_group_type`. If this returns ``None``, the function's ``.type`` is used. |
