RejectedSoftware Forums

Sign up

MongoDB module find()

What is supposed syntax for an analogue of "find()" / "find({})"?
Both collection.find([]) and collection.find() do not compile.

Re: MongoDB module find()

On Thursday, 30 August 2012 at 05:44:47 UTC, mist wrote:

What is supposed syntax for an analogue of "find()" /
"find({})"?
Both collection.find([]) and collection.find() do not compile.

Oops, my bad, have noticed related topic few line below.
Beg my pardon.

Re: MongoDB module find()

Am 30.08.2012 07:45, schrieb mist:

On Thursday, 30 August 2012 at 05:44:47 UTC, mist wrote:

What is supposed syntax for an analogue of "find()" / "find({})"?
Both collection.find([]) and collection.find() do not compile.

Oops, my bad, have noticed related topic few line below.
Beg my pardon.

You just reminded me that find() is also valid for the JS driver. So in
the latest master version this is also possible now.