Skip to content

Upgrade to Drizzle-Query #1212

@RangerMauve

Description

@RangerMauve

Description

Drizle has a new query API which makes it easier to build complex queries with a declarative API that's easy to serialize over our RPC bridge

This could enable use cases such as #1038 and #1043

We should add support for this feature in our DataType getMany and getOne APIs

We should double check to see if the performance will be sufficient. We might take a hit compared to prepared queries.

Tasks

  • Update drizzle to latest stable release
  • Update existing SQL calls to use drizzle queries
  • Extend DataType to support with in getByDocId and getByVersionId
  • Extend getMany to take arbitrary query (make sure TS aligns), use prepared queries if no extra query params were defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions