Show / Hide Table of Contents

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.String skValuePrefix

Prefix for sort key (SK).

Returns
Type Description
IDynamoQueryClause

WhereSKEquals(String)

Add sort key (SK) 'equals' constraint.

Declaration
IDynamoQueryClause WhereSKEquals(string skValue)
Parameters
Type Name Description
System.String skValue

Value to compare sort key (SK) to.

Returns
Type Description
IDynamoQueryClause

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.String skLowerBound

Lower bound value for sort key (SK).

System.String skUpperBound

Upper bound value for sort key (SK).

Returns
Type Description
IDynamoQueryClause

WhereSKIsGreaterThan(String)

Add sort key (SK) 'greater than' constraint.

Declaration
IDynamoQueryClause WhereSKIsGreaterThan(string skValue)
Parameters
Type Name Description
System.String skValue

Value to compare sort key (SK) to.

Returns
Type Description
IDynamoQueryClause

WhereSKIsGreaterThanOrEquals(String)

Add sort key (SK) 'greater than or equal' constraint.

Declaration
IDynamoQueryClause WhereSKIsGreaterThanOrEquals(string skValue)
Parameters
Type Name Description
System.String skValue

Value to compare sort key (SK) to.

Returns
Type Description
IDynamoQueryClause

WhereSKIsLessThan(String)

Add sort key (SK) 'less then' constraint.

Declaration
IDynamoQueryClause WhereSKIsLessThan(string skValue)
Parameters
Type Name Description
System.String skValue

Value to compare sort key (SK) to.

Returns
Type Description
IDynamoQueryClause

WhereSKIsLessThanOrEquals(String)

Add sort key (SK) 'less than or equal' constraint.

Declaration
IDynamoQueryClause WhereSKIsLessThanOrEquals(string skValue)
Parameters
Type Name Description
System.String skValue

Value to compare sort key (SK) to.

Returns
Type Description
IDynamoQueryClause

WhereSKMatchesAny()

Skip adding sort key (SK) constraint.

Declaration
IDynamoQueryClause WhereSKMatchesAny()
Returns
Type Description
IDynamoQueryClause
In This Article
Back to top Generated by DocFX