Click or drag to resize

QueryAnd(BsonExpression, BsonExpression) Method

Returns document that exists in BOTH queries results. If both queries has indexes, left query has index preference (other side will be run in full scan)

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static BsonExpression And(
	BsonExpression left,
	BsonExpression right
)

Parameters

left  BsonExpression
 
right  BsonExpression
 

Return Value

BsonExpression
See Also