Invokes a select COUNT query and returns the NextToken
from SimpleDb.
Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public string SelectCountNextToken<T>( string selectStatement ) |
Visual Basic |
---|
Public Function SelectCountNextToken(Of T) ( _ selectStatement As String _ ) As String |
Visual C++ |
---|
public: generic<typename T> String^ SelectCountNextToken( String^ selectStatement ) |
Parameters
- selectStatement
- Type: System..::..String
The select statement.
Type Parameters
- T
Return Value
The NextToken or null if no more results are availableRemarks
Use this method when you need to skip over the first results returned by a select query, as
when displaying paginated data to the user. For example, to skip over the first 10000 items in the
Employee domain you could invoke this method with following query: "select count(*) from Employee limit 10000".
The returned NextToken can then be used with a standard select query to retrieve the next n-Employees.