import { BaseExpressionInput } from './base-expression-input' ; export class Condition extends BaseExpressionInput { constructor ( prefix ? ) { super ( ) ; this . expression = prefix ?? '' ; } attributeNotExist ( attributeKey ) { const attrExpName = this . addExpressionName ( attributeKey ) ; this . appendToExpression ( `attribute_not_exists(${ attrExpName })` ) ; return this ; } getExpNameKey ( key ) { return `#CE_${ key }` ; } getExpValueKey ( key ) { return `:CE_${ key }` ; } }