|
|
|
@ -14,8 +14,8 @@ class Cursor { |
|
|
|
|
constructor (db, query, execFn, async = false) { |
|
|
|
|
this.db = db |
|
|
|
|
this.query = query || {} |
|
|
|
|
if (execFn) { this.execFn = execFn } |
|
|
|
|
if (async) { this.async = true } |
|
|
|
|
if (execFn) this.execFn = execFn |
|
|
|
|
if (async) this.async = true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|