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

Sign up
Appearance settings

Commit f04ca60

Browse files
Update README.md
1 parent 5f28f0d commit f04ca60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,10 @@ Or filtering down the results to only the account id:
124124
>>> [doc['account_id'] for doc in response]
125125
[u'bk_29151823', u'gm_49121229']
126126
```
127+
128+
MongoDB also has a count method:
129+
130+
```
131+
>>> transactions.find({'purchase_method': 'cash'}).count()
132+
2
133+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /