]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- improve from_statement() doc
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Aug 2014 22:05:17 +0000 (18:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 31 Aug 2014 22:05:31 +0000 (18:05 -0400)
lib/sqlalchemy/orm/query.py

index 72989f34b9fd9be9a0b534aa8b5313f1fd340500..090284d9f8c62379fe089e65995327b62fa3ab5e 100644 (file)
@@ -2348,9 +2348,15 @@ class Query(object):
         This method bypasses all internal statement compilation, and the
         statement is executed without modification.
 
-        The statement argument is either a string, a ``select()`` construct,
-        or a ``text()`` construct, and should return the set of columns
-        appropriate to the entity class represented by this ``Query``.
+        The statement is typically either a :func:`~.expression.text`
+        or :func:`~.expression.select` construct, and should return the set
+        of columns
+        appropriate to the entity class represented by this :class:`.Query`.
+
+        .. seealso::
+
+            :ref:`orm_tutorial_literal_sql` - usage examples in the
+            ORM tutorial
 
         """
         if isinstance(statement, util.string_types):