Skip to content

Commit dc6b24e

Browse files
authored
Merge pull request #246 from Scooletz/order_by_descending
README.md should use order_by_descending()
2 parents 8f6e28c + 50d01b6 commit dc6b24e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ list(session.query_collection("Users")
686686
# id: 'users/2-A' } ]
687687
```
688688
689-
#### order_by() / order_by_desc() / order_by_score() / random_ordering()
689+
#### order_by() / order_by_descending() / order_by_score() / random_ordering()
690690
```python
691691
# RQL
692692
# from users order by age
@@ -715,7 +715,7 @@ list(session.query_collection("Users").order_by("age"))
715715
716716
>##### Related tests:
717717
> <small>[order_by()](https:///github.com/ravendb/ravendb-python-client/blob/333a2961de1f924ea7b42529eed64d2317ef4891/ravendb/tests/session_tests/test_query.py#L149-L158)</small>
718-
> <small>[order_by_desc()](https:///github.com/ravendb/ravendb-python-client/blob/333a2961de1f924ea7b42529eed64d2317ef4891/ravendb/tests/session_tests/test_query.py#L160-L168)</small>
718+
> <small>[order_by_descending()](https:///github.com/ravendb/ravendb-python-client/blob/333a2961de1f924ea7b42529eed64d2317ef4891/ravendb/tests/session_tests/test_query.py#L160-L168)</small>
719719
> <small>[query random order](https:///github.com/ravendb/ravendb-python-client/blob/df4e92fbcfb07872e1d7cc920bff5196d19a3aa7/ravendb/tests/jvm_migrated_tests/query_tests/test_query.py#L270-L274)</small>
720720
> <small>[order by AlphaNumeric](https:///github.com/ravendb/ravendb-python-client/blob/df4e92fbcfb07872e1d7cc920bff5196d19a3aa7/ravendb/tests/jvm_migrated_tests/issues_tests/test_ravenDB_15825.py#L42-L50)</small>
721721
> <small>[query with boost - order by score](https:///github.com/ravendb/ravendb-python-client/blob/df4e92fbcfb07872e1d7cc920bff5196d19a3aa7/ravendb/tests/jvm_migrated_tests/query_tests/test_query.py#L276-L303)</small>

0 commit comments

Comments
 (0)