ListOperationTrim Method

Aerospike
Create list trim operation. Server removes items in list bin that do not fall into range specified by index and count range. If the range is out of bounds, then all items will be removed. Server returns list size after trim.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation Trim(
	string binName,
	int index,
	int count,
	params CTX[] ctx
)

Parameters

binName
Type: SystemString
index
Type: SystemInt32
count
Type: SystemInt32
ctx
Type: Aerospike.ClientCTX

Return Value

Type: Operation
See Also

Reference