NeoAxis Documentation
NeoAxis Documentation
API Reference
Internal.LiteDB
LiteCollection<T> Class
LiteCollection<T> Methods
LongCount Method
LongCount Method
LongCount(BsonExpression) Method
LongCount(Expression<Func<T, Boolean>>) Method
LongCount(Query) Method
LongCount(String, BsonDocument) Method
LongCount(String, BsonValue[]) Method
Lite
Collection
T
Long
Count(Query) 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
long
LongCount
(
Query
query
)
Parameters
query
Query
Return Value
Int64
Implements
ILiteCollection
T
LongCount(Query)
See Also
Reference
LiteCollection
T
Class
LongCount Overload
Internal.LiteDB Namespace
Copyright 2026 NeoAxis Group. All rights reserved.