Skip to content

dynamodbify

dynamodbify(where, toField?): FilterExpression

Defined in: dynamodb/src/lib/dynamodbify.ts:66

Translates a Mantle QueryParams.where clause into a DynamoDB FilterExpression (suitable for Scan and Query operations).

Supported operators: Comparison : $lt, $lte, $gt, $gte Equality : field = value, $ne Null check : field: null → attribute_not_exists / null check Inclusion : $in, $nin Logical : $or, $and Pattern : $begins (begins_with) Contains : $contains

Unsupported operators (including $like) throw BadRequest.

WhereClause

(field) => string

FilterExpression