summaryrefslogtreecommitdiff
path: root/doc/build/tutorial
diff options
context:
space:
mode:
authorSebastián Ramírez <tiangolo@gmail.com>2021-04-28 20:42:12 +0200
committerGitHub <noreply@github.com>2021-04-28 20:42:12 +0200
commit5b12393e81f6b8953e9ebd46801e6943007b7a56 (patch)
tree10a9e9fb6e3c572fee5a5046151e422f5aab177a /doc/build/tutorial
parentd69407abdb6e89183b69696ca9f873e268ddb3af (diff)
downloadsqlalchemy-5b12393e81f6b8953e9ebd46801e6943007b7a56.tar.gz
✏️ Fix minor typos in "Selecting Rows with Core or ORM" (#6381)
Diffstat (limited to 'doc/build/tutorial')
-rw-r--r--doc/build/tutorial/data_select.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/tutorial/data_select.rst b/doc/build/tutorial/data_select.rst
index 73261500e..bcd533cc6 100644
--- a/doc/build/tutorial/data_select.rst
+++ b/doc/build/tutorial/data_select.rst
@@ -449,7 +449,7 @@ right side of the JOIN, the left hand-side is inferred::
observe that the ON clause of the join is also inferred for us in simple
foreign key cases. More on that in the next section.
-We also have the option add elements to the FROM clause explicitly, if it is not
+We also have the option to add elements to the FROM clause explicitly, if it is not
inferred the way we want from the columns clause. We use the
:meth:`_sql.Select.select_from` method to achieve this, as below
where we establish ``user_table`` as the first element in the FROM
@@ -602,7 +602,7 @@ of a particular SQL function, which can have any name, as well as zero or
more arguments to pass to the function, which are, like in all other cases,
SQL Expression constructs. For example, to
render the SQL COUNT() function against the ``user_account.id`` column,
-we call upon the name ``count()`` name::
+we call upon the ``count()`` name::
>>> from sqlalchemy import func
>>> count_fn = func.count(user_table.c.id)