Skip to content

Commit da54caf

Browse files
author
Chris Turner
committed
Merge branch 'issue-884' of github.com:ixcat/datajoint-python into issue-884
2 parents 2a1a256 + 74a8584 commit da54caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs-parts/queries/03-Fetch_lang1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To sort the result, use the ``order_by`` keyword argument.
5555
5656
The ``order_by`` argument can be a string specifying the attribute to sort by. By default the sort is in ascending order. Use ``'attr desc'`` to sort in descending order by attribute ``attr``. The value can also be a sequence of strings, in which case, the sort performed on all the attributes jointly in the order specified.
5757

58-
The special attribute name ``"KEY"`` represents the primary key attributes in order that they appear in the index. Otherwise, this name can be use as any other argument.
58+
The special attribute name ``"KEY"`` represents the primary key attributes in order that they appear in the index. Otherwise, this name can be used as any other argument.
5959

6060
If an attribute happens to be an SQL reserved word, it needs to be enclosed in backquotes. For example
6161
...code: python
@@ -70,7 +70,7 @@ For example, one could do the following:
7070
.. code-block:: python
7171
7272
data = query.fetch(order_by='name', limit=10, offset=5)
73-
73+
Note that an ``offset`` cannot be used without specifying a ``limit`` as well.
7474
Usage with Pandas
7575
~~~~~~~~~~~~~~~~~
7676

0 commit comments

Comments
 (0)