Click or drag to resize

ILiteCollectionTUpsert(BsonValue, T) Method

Insert or Update a document in this collection.

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
bool Upsert(
	BsonValue id,
	T entity
)

Parameters

id  BsonValue
 
entity  T
 

Return Value

Boolean
See Also