Returns the collection named name.
The collection name
OptionalcommandRuns a database command against this database (optional, M95b).
The reachability probe sends { ping: 1 } through it — the one cheap
liveness round trip the driver exposes. The real driver's
Db.command(command: Document, options?): Promise<Document> is
assignable to this shape, pinned by the committed static type fixture;
an injected facade that omits the member simply has no probe, and the
adapter reports its absence rather than failing readiness for a
backend it never asked.
The command document (for example { ping: 1 })
The driver's reply, unread by the probe
A structural subset of the driver
Database— what the collection resolver reads.Since
0.2.0