First Commit
This commit is contained in:
commit
601e886c14
2123 files changed
+334815
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
const Aspect = require('./operation').Aspect;
|
||||
const CoreCursor = require('../core/cursor').CoreCursor;
|
||||
const defineAspects = require('./operation').defineAspects;
|
||||
const OperationBase = require('./operation').OperationBase;
|
||||
|
||||
class ExplainOperation extends OperationBase {
|
||||
constructor(cursor) {
|
||||
super();
|
||||
|
||||
this.cursor = cursor;
|
||||
}
|
||||
|
||||
execute() {
|
||||
const cursor = this.cursor;
|
||||
return CoreCursor.prototype._next.apply(cursor, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
defineAspects(ExplainOperation, Aspect.SKIP_SESSION);
|
||||
|
||||
module.exports = ExplainOperation;
|
||||
Reference in new issue
Block a user