ASecondaryIndexAccess..::..Query Method (Filter, array<String>[]()[][])
Performs a secondary index query using the provided Filter.
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
public IEnumerable<ARecord> Query( Filter secondaryIdxFilter, params string[] bins )
Parameters
- secondaryIdxFilter
- Type: Filter
The Filter used against the secondary index
- bins
- Type: array<String>[]()[][]
Only include these bins in the result.
Return Value
A collection of records that match the filter.Exceptions
Exception | Condition |
---|---|
AerospikeException | Thrown if an index cannot be found to match the filter |