Skip to content

Join catalog table and event table when listing catalogs #12

@junjiah

Description

@junjiah

Currently in GetTrackingCatalogs, we fetch a list of catalogs then according to each one's latest event ID query postgresql again to fetch corresponding event.

We should optimize this workflow by joining two tables at first, thus saving additional queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions