@joktec/mongo
Version:
JokTec - Mongo Service
27 lines • 690 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RESTORE_OPTIONS = exports.PARANOID_OPTIONS = exports.UPSERT_OPTIONS = exports.DELETE_OPTIONS = exports.UPDATE_OPTIONS = void 0;
exports.UPDATE_OPTIONS = {
runValidators: true,
new: true,
};
exports.DELETE_OPTIONS = {
includeResultMetadata: false,
};
exports.UPSERT_OPTIONS = {
upsert: true,
new: true,
runValidators: true,
setDefaultsOnInsert: true,
};
exports.PARANOID_OPTIONS = {
runValidators: true,
new: true,
paranoid: true,
};
exports.RESTORE_OPTIONS = {
runValidators: true,
new: true,
paranoid: false,
};
//# sourceMappingURL=mongo.option.js.map