Skip to content

Watching Drizzle "with"-queries, not supported? #426

@steveninety

Description

@steveninety

Doing a Drizzle watched query as per the docs, but instead of db.select(), using db.query.findMany({ with: { someRelationName: true }}), will result in all relations being returned (1) as JSON and (2) as an array of arrays of object-values instead of just... an array of objects.

Am I tapping into an unsupported feature, or is this a bug?

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