"use strict";var __extends=this&&this.__extends||function(){var o=function(r,t){o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s))n[s]=e[s]};return o(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(exports,"__esModule",{value:true});exports.ExistsCommand=void 0;var AbstractCommand_1=require("../AbstractCommand");var ExistsCommand=function(o){__extends(r,o);function r(t){var n=o.call(this)||this;n.exists=t;return n}r.prototype.stringify=function(){return{$exists:this.exists}};return r}(AbstractCommand_1.QueryCommand);exports.ExistsCommand=ExistsCommand;