Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..Query Method (String, Filter, Exp, array<String>[]()[][])

Performs a secondary index query or expression query using the provided arguments.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public IEnumerable<ARecord> Query(
	string idxName,
	Filter secondaryIdxFilter,
	Exp filterExpression,
	string[] bins
)

Parameters

idxName
Type: String
The name of the index. Can be null.
secondaryIdxFilter
Type: Filter
The filter used to obtain the result of an index query. Can be null.
filterExpression
Type: Exp
The expression that will be applied to the result set. Can be null.
bins
Type: array<String>[]()[][]
The bins that will be returned from the result set. Can be null.

Return Value

The result set of the query.

Remarks


To just provide the idxName you must explicitly provide the argument name "idxName:", otherwise it will be treated as a bin name.