NeoAxis Documentation
NeoAxis Documentation
API Reference
Internal.LiteDB
LiteCollection<T> Class
LiteCollection<T> Methods
Count Method
Count Method
Count(BsonExpression) Method
Count(Expression<Func<T, Boolean>>) Method
Count(Query) Method
Count(String, BsonDocument) Method
Count(String, BsonValue[]) Method
Lite
Collection
T
Count(Bson
Expression) Method
Get document count in collection using predicate filter expression
Namespace:
Internal.LiteDB
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
Copy
public
int
Count
(
BsonExpression
predicate
)
Parameters
predicate
BsonExpression
Return Value
Int32
Implements
ILiteCollection
T
Count(BsonExpression)
See Also
Reference
LiteCollection
T
Class
Count Overload
Internal.LiteDB Namespace
Copyright 2026 NeoAxis Group. All rights reserved.