Skip to content

Commit e606837

Browse files
doc: update mongodb.md (jaywcjlove#343)
fix some translation issues
1 parent 6f65262 commit e606837

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/mongodb.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ db // 打印当前数据库
3030
use <database_name>
3131
```
3232

33-
### 显示收藏
33+
### 显示集合
3434

3535
```mongodb
3636
show collections
@@ -50,7 +50,7 @@ CRUD
5050

5151
```mongodb
5252
db.coll.insertOne({ name: "Max" })
53-
db.coll.insert([{ name: "Max"}, {name:"Alex"}]) // 订购批量插入
53+
db.coll.insert([{ name: "Max"}, {name:"Alex"}]) // 批量插入
5454
db.coll.insert([{ name: "Max"}, {name:"Alex"}], {ordered: false}) // 无序批量插入
5555
db.coll.insert({ date: ISODate()})
5656
db.coll.insert({ name: "Max"}, {"writeConcern": {"w": "majority", "wtimeout": 5000}})
@@ -70,7 +70,7 @@ Commands | Description
7070

7171
Operator | Description | Commands
7272
:-- | --- | ---
73-
`$gt` | 比...更棒 | `db.docx.find({class:{$gt:'T'}`
73+
`$gt` | 大于 | `db.docx.find({class:{$gt:'T'}`
7474
`$gte` | 大于等于 | `db.docx.find({class:{$gt:'T'}`
7575
`$lt` | 小于 | `db.docx.find({class:{$lt:'T'}`
7676
`$lte` | 小于等于 | `db.docx.find({class:{$lte:'T'}`

0 commit comments

Comments
 (0)