mirror of
https://github.com/hanzoai/mongodb-memory-server.git
synced 2026-09-24 17:00:24 +00:00
624 B
624 B
id, title
| id | title |
|---|---|
| mongo-binary | MongoBinary |
API Documentation of MongoBinary-Class
Functions
:::note This class is not actually meant to be constructed, it only consists of static functions & values :::
download
Typings: static async download(options: Required<MongoBinaryOpts>): Promise<string>
Try to find the binary and if not found download the binary.
getPath
Typings: static async getPath(opts: MongoBinaryOpts = {}): Promise<string>
Get a working binary and returns the path to it.
(Calls download if RUNTIME_DOWNLOAD is true)