Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ec36725

Browse filesBrowse files
committed
Add Limit.
1 parent e614796 commit ec36725
Copy full SHA for ec36725

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Collapse file

‎README.org‎

Copy file name to clipboardExpand all lines: README.org
+9Lines changed: 9 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
- [[#set-the-value-of-a-field-to-current-date][Set the value of a field to current date]]
2727
- [[#increment-the-value-of-the-field-by-the-specified-amount][Increment the value of the field by the specified amount]]
2828
- [[#aggregation-operators][Aggregation Operators]]
29+
- [[#limit][Limit]]
2930
- [[#match][Match]]
3031
- [[#run-the-command][Run the command]]
3132
- [[#insert-documents][Insert Documents]]
@@ -231,6 +232,14 @@ update_operator = {
231232
pipeline = []
232233
#+END_SRC
233234

235+
**** Limit
236+
237+
#+BEGIN_SRC python
238+
pipeline.append({
239+
"$limit": 100,
240+
})
241+
#+END_SRC
242+
234243
**** Match
235244

236245
#+BEGIN_SRC python

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.