Skip to main content
Module

x/mongo/mod.ts>BuildInfo

MongoDB driver for Deno
Extremely Popular
Go to Latest
interface BuildInfo
import { type BuildInfo } from "https://deno.land/x/mongo@v0.31.0/mod.ts";

The document returned by the buildInfo command.

Properties

version: string

A string that conveys version information about the mongod instance. If you need to present version information to a human, this field is preferable to versionArray.

This string will take the format <major>.<minor>.<patch> in the case of a release, but development builds may contain additional information.

gitVersion: string

The commit identifier that identifies the state of the code used to build the mongod.

deprecated
sysInfo: string
loaderFlags: string
compilerFlags: string
allocator: string

The memory allocator that mongod uses. By default this is tcmalloc.

versionArray: number[]

An array that conveys version information about the mongod instance. See version for a more readable version of this string.

openssl: Document

An embedded document describing the version of the TLS/SSL library that mongod was built with and is currently using.

javascriptEngine: string

A string that reports the JavaScript engine used in the mongod instance. By default, this is mozjs after version 3.2, and previously V8.

bits: number

A number that reflects the target processor architecture of the mongod binary.

debug: boolean

A boolean. true when built with debugging options.

maxBsonObjectSize: number

A number that reports the Maximum BSON Document Size.

storageEngines: string[]

A list of storage engines available to the mongod server.

ok: number