Skip to content

Commit

Permalink
document order by & reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
baxiry committed Jul 6, 2024
1 parent 9e00797 commit ce0a887
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ <h4>examples</h4>
<p>select objects that match all conditions</p>
{action:"findMany", collection:"users", match:{ $and:[name:{$eq:"akram", age:$gt:13}]}}

<p>order by & reverse or DISC :</p>
{action:"findMany", collection:"users", orderBy:"name", reverse:1}

<p>updateById </p>
{action:"updateById", collection:"test", _id:3, data:{name:"hosam", age:10}}
Expand Down

0 comments on commit ce0a887

Please sign in to comment.