Interface IDynamoQuerySortKeyConstraint
Interface for specifying the sort key (PK) constraint for an untyped DynamoDB query.
Namespace: LambdaSharp.DynamoDB.Native.Query
Assembly: LambdaSharp.DynamoDB.Native.dll
Syntax
public interface IDynamoQuerySortKeyConstraint
Methods
WhereSKBeginsWith(String)
Add sort key (SK) must begins with constraint.
Declaration
IDynamoQueryClause WhereSKBeginsWith(string skValuePrefix)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValuePrefix | Prefix for sort key (SK). |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKEquals(String)
Add sort key (SK) 'equals' constraint.
Declaration
IDynamoQueryClause WhereSKEquals(string skValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValue | Value to compare sort key (SK) to. |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKIsBetween(String, String)
Add sort key (SK) must be 'between two values' constraint.
Declaration
IDynamoQueryClause WhereSKIsBetween(string skLowerBound, string skUpperBound)
Parameters
Type | Name | Description |
---|---|---|
System. |
skLowerBound | Lower bound value for sort key (SK). |
System. |
skUpperBound | Upper bound value for sort key (SK). |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKIsGreaterThan(String)
Add sort key (SK) 'greater than' constraint.
Declaration
IDynamoQueryClause WhereSKIsGreaterThan(string skValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValue | Value to compare sort key (SK) to. |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKIsGreaterThanOrEquals(String)
Add sort key (SK) 'greater than or equal' constraint.
Declaration
IDynamoQueryClause WhereSKIsGreaterThanOrEquals(string skValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValue | Value to compare sort key (SK) to. |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKIsLessThan(String)
Add sort key (SK) 'less then' constraint.
Declaration
IDynamoQueryClause WhereSKIsLessThan(string skValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValue | Value to compare sort key (SK) to. |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKIsLessThanOrEquals(String)
Add sort key (SK) 'less than or equal' constraint.
Declaration
IDynamoQueryClause WhereSKIsLessThanOrEquals(string skValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
skValue | Value to compare sort key (SK) to. |
Returns
Type | Description |
---|---|
IDynamo |
WhereSKMatchesAny()
Skip adding sort key (SK) constraint.
Declaration
IDynamoQueryClause WhereSKMatchesAny()
Returns
Type | Description |
---|---|
IDynamo |