prorm API Reference
    Preparing search index...

    Interface DeleteItemOptions

    interface DeleteItemOptions {
        conditionExpression?: string;
        expressionAttributeNames?: Record<string, string>;
        expressionAttributeValues?: Record<string, unknown>;
        returnValues?: ReturnValue | DynamoReturnValues;
    }
    Index
    conditionExpression?: string
    expressionAttributeNames?: Record<string, string>
    expressionAttributeValues?: Record<string, unknown>
    returnValues?: ReturnValue | DynamoReturnValues

    Defaults to 'ALL_OLD' (returns the deleted item) for backwards compatibility. Pass 'NONE' to skip returning the deleted item when the caller doesn't need it (saves a small amount of response payload).