【MongoDB】執行js腳本初始化數據

一、js腳本javascript 例如往某個集合(ClientVersionRecord)插入多條初始化數據,init.js腳本以下:java db.ClientVersionRecord.insertMany( [ { "_id" : "11111111", "name" : "hahaha" },
相關文章
相關標籤/搜索