Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords<(Of <(<'T>)>)>..::..CreateIndex Method (String, String, IndexType)

Creates a secondary index on this set for a bin https://docs.aerospike.com/server/guide/query

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

Syntax


public SetRecords<T> CreateIndex(
	string idxName,
	string idxOnBin,
	IndexType indexType
)

Parameters

idxName
Type: String
The name of the index
idxOnBin
Type: String
The bin's values that will be used to build the index
indexType
Type: IndexType
The type of index to be built