Class | AWS::DynamoDB::ItemCollection::FilterBuilder |
In: |
lib/aws/dynamo_db/item_collection.rb
|
Parent: | Object |
Provides a convenient syntax for expressing scan filters.
table.items.where(:path).begins_with("users/")
attribute | [R] | |
items | [R] |
Filters the collection to include only those items where this attribute begins with the argument.
@param [String] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute is between the two arguments.
@param [String, Numeric] min The minimum value.
@param [String, Numeric] max The maximum value.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute contains the argument. If the attribute value is a set, this filter matches items where the argument is one of the values in the set. If the attribute value is a string, this filter matches items where the argument (which must be a string) is a substring of the attribute value.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute does not contain the argument. If the attribute value is a set, this filter matches items where the argument is not present in the set. If the attribute value is a string, this filter matches items where the argument (which must be a string) is not a substring of the attribute value.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is equal to the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is greater than the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is greater than or equal to the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute equals one of the arguments.
@param [Array<String, Numeric>] values The values to compare
against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute does not exist.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is less than the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is less than or equal to the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where the value of this attribute is not equal to the argument.
@param [String, Numeric] value The value to compare against.
@return [ItemCollection] A new item collection filtered by
this condition.
Filters the collection to include only those items where this attribute exists.
@return [ItemCollection] A new item collection filtered by
this condition.