vibe.d beta banner
get vibe.d
0.7.30

Function MongoCollection.count

Counts the results of the specified query expression.

Throws Exception if a DB communication error occured.

Prototype

ulong count(T)(
  T query
);

See Also

http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-{{count%28%29}}

Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.