mongodb
时间:2021-07-01 10:21:17
帮助过:2人阅读
single=
{
.. "name": "jack"
,
.. "password": "12345"
,
.. "age": 20
,
.. "address"
: {
.. "province:": "hefei"
.. },
.. "favourrite"
: [
.. "apple"
,
.. "banana"
.. ]
.. }
for(
var i=0;i<5;i++
){
.. db.person.insert(single)
.. }
mongodb
标签: