Fix errors
This commit is contained in:
parent
9d55c7d4b9
commit
d7c77aa67c
@ -57,13 +57,6 @@ async function putMeta(data){
|
||||
coll.insertMany(data);
|
||||
}
|
||||
|
||||
//async function putData(data,collection) {
|
||||
// await client.connect()
|
||||
// var coll = db.collection(collection);
|
||||
// var result = coll.insertMany(data);
|
||||
// log.out(result);
|
||||
//};
|
||||
|
||||
async function query(collection, query){
|
||||
await client.connect();
|
||||
let qcoll = db.collection(collection);
|
||||
|
Reference in New Issue
Block a user