Ivan Asmer 5 năm trước cách đây
mục cha
commit
e84db78cae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -338,7 +338,7 @@ const mm = db => {
 
                     return  obj[_class] = {
                         * find(query, cursorCalls={}){
-                            console.log(query)
+                            console.log(JSON.stringify(query, null, 4))
                             let cursor = applyCursorCalls(db.collection(_class).find(query), cursorCalls)
                             let cursorGen = asynchronize({s: cursor.stream(), 
                                                           chunkEventName: 'data',