BuildInfo

public struct BuildInfo: ValueConvertible

MongoDB build information

  • The git version

    Declaration

    Swift

    public let gitVersion: String
  • An array of version information

    Declaration

    Swift

    public let versionArray: Document
  • The semantic version of this build

    Declaration

    Swift

    public let version: Version
  • The available storage engines in 3.2 or above

    Declaration

    Swift

    public let storageEngines: Document?
  • The processor architecture

    Declaration

    Swift

    public let bits: Int
  • Build as debug server

    Declaration

    Swift

    public let debug: Bool
  • Maximum BSON object size (usually 16MB)

    Declaration

    Swift

    public let maxBsonObjectSize: Int
  • OpenSSL details, if available

    Declaration

    Swift

    public let openSSL: Document?
  • The add-on modules on the server

    Declaration

    Swift

    public let modules: Document
  • Creates this from a Document, but throwable

    Declaration

    Swift

    public init(fromDocument document: Document) throws
  • Converts this back to a Document

    Declaration

    Swift

    public func makePrimitive() -> BSON.Primitive