Click or drag to resize

LiteCollectionTUpdateMany(BsonExpression, BsonExpression) Method

Update many documents based on transform expression. This expression must return a new document that will be replaced over current document (according with predicate). Eg: col.UpdateMany("{ Name: UPPER($.Name), Age }", "_id > 0")

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public int UpdateMany(
	BsonExpression transform,
	BsonExpression predicate
)

Parameters

transform  BsonExpression
 
predicate  BsonExpression
 

Return Value

Int32

Implements

ILiteCollectionTUpdateMany(BsonExpression, BsonExpression)
See Also