@commodo/fields-storage-dynamodb
Version:
We're working hard to get all the docs in order. New articles will be added daily.
25 lines (24 loc) • 493 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const lt = {
canProcess: ({
value
}) => {
return value && typeof value["$lt"] !== "undefined";
},
process: ({
key,
value,
args
}) => {
args.expression += `#${key} < :${key}`;
args.attributeNames[`#${key}`] = key;
args.attributeValues[`:${key}`] = value["$lt"];
}
};
var _default = lt;
exports.default = _default;
//# sourceMappingURL=lt.js.map