Click or drag to resize

LiteCollectionTEnsureIndexK(Expression, Void) Method


Namespace: NeoAxis.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool EnsureIndex<K>(
	Expression keySelector,
	void unique = false
)

Parameters

keySelector  ExpressionTDelegate
 
unique  Void  (Optional)
 

Type Parameters

K

Return Value

Boolean

Implements

ILiteCollectionTEnsureIndexK(ExpressionTDelegate, Void)
See Also