vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Function MongoCollection.find

Queries the collection for existing documents.

MongoCursor!R find(R, T, U) (
  T query,
  U returnFieldSelector,
  QueryFlags flags = QueryFlags.None,
  int num_skip = 0,
  int num_docs_per_chunk = 0

MongoCursor!R find(R, T) (
  T query

MongoCursor!R find(R)();

If no arguments are passed to find(), all documents of the collection will be returned.

See Also


Sönke Ludwig


© 2012-2016 Sönke Ludwig


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