Am 03.03.2017 um 23:27 schrieb Morhor:

Hello! I can't understand how i can get collections list of Mongo base.

There is probably a better way, but one possibility is to list the _id
indexes in the database:

string[] collections = db.getCollection("system.indexes")
     .find(["key": ["_id": 1]], ["ns": 1])
     .map!(b => b["ns"].get!string)

(^ did not go through a syntax checker)