Interface representing metadata information about a MaxMind DB database.

Hierarchy

  • MmdbMetadata

Accessors

  • get nodeCount(): number
  • Gets the number of nodes in the search tree.

    Returns number

  • get recordSize(): number
  • Gets the size of each record in bytes.

    Returns number

  • get ipVersion(): number
  • Gets the IP version of the database (either 4 or 6).

    Returns number

  • get databaseType(): string
  • Gets the type of the database (e.g. "GeoIP2-City").

    Returns string

  • get languages(): readonly string[]
  • Gets an array of language codes supported by the database.

    Returns readonly string[]

  • get binaryFormatMajorVersion(): number
  • Gets the major version number of the binary format of the database. Should be 2 for all current databases.

    Returns number

  • get binaryFormatMinorVersion(): number
  • Gets the minor version number of the binary format of the database.

    Returns number

  • get buildEpoch(): number
  • Gets the unix epoch time when the database was built (in seconds).

    Returns number

Generated using TypeDoc