get (id) {
    const instances =
      id === undefined
        ? []
        : this.query()
          .get(id)
          .run()
    return instances.length ? instances[0] : undefined
  }
Get the record with the given id.

@method Collection#get
@since 3.0.0
@param {(string|number)} id The primary key of the record to get.
@returns {(Object|Record)} The record with the given id.