def datoms(dbname, params = {})
      version = params.fetch(:t, '-')
      get db_url(dbname, version, "datoms"), params
    end
def datoms(dbname, params = {})
      version = params.fetch(:t, '-')
      get db_url(dbname, version, "datoms"), params
    end
This endpoint hits both datoms and index-range APIs.
 params take any param in addition to following options:

 Options:
 * :t - Specifies version/time of db. Defaults to latest version