Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/data/deps.ts>mongo.BuildInfo

An ecosystem delivering practices, philosophy and portability.
Go to Latest
interface mongo.BuildInfo
import { type mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { BuildInfo } = mongo;

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