Fix errors

This commit is contained in:
Fred Boniface 2023-01-05 21:22:28 +00:00
parent 9d55c7d4b9
commit d7c77aa67c

View File

@ -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);