]> 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:17 +0000 (18:05 -0400)
lib/sqlalchemy/orm/query.py

index af0b72091a50e50d746629c08074ad97b1950252..a9ed4d4e71b350e120d4fce8738263496b98b3c2 100644 (file)
@@ -2326,9 +2326,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):