File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,12 +471,12 @@ export async function shallowUpdateTableRow<R>(
471471 cond = `(${ key } IN (${ valStr } ))` ;
472472 }
473473 if ( exp . op === 'BETWEEN' ) {
474- cond = `(${ key } between :${ key } -A and :${ key } -B )` ;
475- expressionAttributeValues [ `:${ key } -A ` ] = exp . value [ 0 ] ;
476- expressionAttributeValues [ `:${ key } -B ` ] = exp . value [ 1 ] ;
474+ cond = `(${ key } between :${ key } Xaa and :${ key } Xbb )` ;
475+ expressionAttributeValues [ `:${ key } Xaa ` ] = exp . value [ 0 ] ;
476+ expressionAttributeValues [ `:${ key } Xbb ` ] = exp . value [ 1 ] ;
477477 } else {
478- cond = `${ key } ${ exp . op } :${ key } -v ` ;
479- expressionAttributeValues [ `:${ key } -v ` ] = exp . value ;
478+ cond = `${ key } ${ exp . op } :${ key } Xvv ` ;
479+ expressionAttributeValues [ `:${ key } Xvv ` ] = exp . value ;
480480 }
481481 if ( exp . logicOp ) cond += ` ${ exp . logicOp } ` ;
482482 conditionExpression . push ( cond ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " dynadash" ,
3- "version" : " 1.4.4 " ,
3+ "version" : " 1.4.5 " ,
44 "description" : " DynamoDb helpers" ,
55 "main" : " dist/dynadash.js" ,
66 "typings" : " dist/types/dynadash.d.ts" ,
You can’t perform that action at this time.
0 commit comments