summaryrefslogtreecommitdiff
path: root/doc/build/tutorial
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-04-19 11:45:09 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-04-19 11:45:09 -0400
commita58c99977eafc5f69a3e37f9ddcc328698e7fe1e (patch)
tree30207762f9a33aac9f0ac1c1ddc79ee5433036ed /doc/build/tutorial
parent59ebc5286b8df2f0665e454a6cefdf3ad8baf8d1 (diff)
downloadsqlalchemy-a58c99977eafc5f69a3e37f9ddcc328698e7fe1e.tar.gz
add some cross-linking for orderby/groupby docs + label examples
Change-Id: I34d4958ded8ec95e439ee47fdcb600f357cf7ae3 References: #6324
Diffstat (limited to 'doc/build/tutorial')
-rw-r--r--doc/build/tutorial/data.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/build/tutorial/data.rst b/doc/build/tutorial/data.rst
index 26016814b..aef5b6990 100644
--- a/doc/build/tutorial/data.rst
+++ b/doc/build/tutorial/data.rst
@@ -765,6 +765,8 @@ using ``.join(..., isouter=True)``.
SQL also has a "RIGHT OUTER JOIN". SQLAlchemy doesn't render this directly;
instead, reverse the order of the tables and use "LEFT OUTER JOIN".
+.. _tutorial_order_by:
+
ORDER BY
^^^^^^^^^
@@ -845,6 +847,8 @@ than one address:
[('sandy', 2)]
{opensql}ROLLBACK{stop}
+.. _tutorial_order_by_label:
+
Ordering or Grouping by a Label
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^