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 3b36901

Browse filesBrowse files
committed
Add Match.
1 parent 21c0f30 commit 3b36901
Copy full SHA for 3b36901

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎README.org‎

Copy file name to clipboardExpand all lines: README.org
+7Lines changed: 7 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+
- [[#match][Match]]
2930
- [[#run-the-command][Run the command]]
3031
- [[#insert-documents][Insert Documents]]
3132
- [[#insert-one-document][Insert one document]]
@@ -228,6 +229,12 @@ update_operator = {
228229
pipeline = []
229230
#+END_SRC
230231

232+
**** Match
233+
234+
#+BEGIN_SRC python
235+
pipeline.append({ "$match": { "status": "A" } })
236+
#+END_SRC
237+
231238
** Run the command
232239
*** Insert Documents
233240
**** Insert one document

0 commit comments

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