Skip to content

expose Query.registrations with timestamp range #2165

@shrugs

Description

@shrugs

deferred from the Omnigraph example-query audit.

the subgraph examples cover "latest registrations" and "order by registration/creation time" use cases. the Omnigraph find-domains example can only order domains by NAME (DomainsOrderBy does expose REGISTRATION_TIMESTAMP/REGISTRATION_EXPIRY, but there is no registration-centric top-level entry point).

ask

expose a top-level Query.registrations field returning registrations filterable by a timestamp range (e.g. start / registration timestamp within [from, to]) and orderable by time — supporting "latest registrations" and "registrations in a window" stories.

notes

  • requires supporting DB index(es) on the registration timestamp column(s) to keep range queries performant.
  • add example queries to packages/ensnode-sdk/src/omnigraph-api/example-queries.ts (and docs meta) once the field exists.

Part of #1360

Metadata

Metadata

Assignees

No one assigned

    Labels

    ensv2ENSv2 related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions