_entityToDoc (entity) {
    const doc = this._removeNullishesIn({
      _id: entity._id,
      _semver: entity._semver,
      _locked: entity._locked
    })

    return doc
  }
/**
   * Converts the given SchemaVersion into a document suitable for storage in `this._collection`.
   */
Converts the given SchemaVersion into a document suitable for storage in `this._collection`.
Converts the given SchemaVersion into a document suitable for storage in ` this . _collection ` .
_entityToDoc (entity) {
    const doc = this._removeNullishesIn({
      _id: entity._id,
      _semver: entity._semver,
      _locked: entity._locked
    })
    return doc
  }
_entityToDoc ( entity ) { const doc = this . _removeNullishesIn ( { _id : entity . _id , _semver : entity . _semver , _locked : entity . _locked } ) return doc }
Converts the given SchemaVersion into a document suitable for storage in `this._collection`.
Converts the given SchemaVersion into a document suitable for storage in ` this . _collection ` .