| 1234567891011121314151617181920212223242526 |
- "use strict";
- var ComparisonMatchExpression = require("./ComparisonMatchExpression.js");
- /**
- * File: matcher/expression_leaf.h
- * @class GTMatchExpression
- * @namespace mungedb-aggregate.pipeline.matcher
- * @module mungedb-aggregate
- * @constructor
- */
- var GTMatchExpression = module.exports = function GTMatchExpression(){
- base.call(this, "GT");
- }, klass = GTMatchExpression, base = ComparisonMatchExpression, proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
- /**
- * @method shallowClone
- */
- proto.shallowClone = function shallowClone(){
- var e = new GTMatchExpression();
- e.init(this.path(), this._rhs);
- if(this.getTag()) {
- e.setTag(this.getTag().clone());
- }
- return e;
- };
|