Skip to content

ENSDb terminology refinements #2250

@tk-o

Description

@tk-o

We need to update the ENSNode Metadata table and rename the ens_indexer_schema_name column to ensdb_writer_schema_name.

Following that update we have to use the generic term for existing environment variables that reference ENSINDEXER_SCHEMA_NAME. It should be replaced with ENSDB_WRITER_SCHEMA_NAME.

Similar updates have to be completed for ENSDb SDK, where all "ENSIndexer" references must be replaced with "ENSDb Writer". For example, ensIndexerSchema() must become ensDbWriterSchema, and ensIndexerSchemaName must become ensDbWriterSchemaName.

/**
* Getter for the "concrete" ENSIndexer Schema definition used in the Drizzle client
* for ENSDb instance.
*
* Useful while working on complex queries for ENSDb.
*
* Note: using `ensIndexerSchema` name for this getter to make it read better
* in the context of query building. For example:
* `this.ensDb.select().from(this.ensIndexerSchema.event)` vs.
* `this.ensDb.select().from(this.concreteEnsIndexerSchema.event)`.
*/
get ensIndexerSchema(): ConcreteEnsIndexerSchema {
return this._concreteEnsIndexerSchema;
}
/**
* Getter for the ENSIndexer Schema Name used by this ENSDbReader instance.
*/
get ensIndexerSchemaName(): string {
return this._ensIndexerSchemaName;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    ensapiENSApi relatedensdbENSDb relatedensindexerENSIndexer related

    Type

    No fields configured for Task.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions