Skip to content

Selecting records regardless of delete state? #17

@nullfox

Description

@nullfox

I see in the README that you can explicitly query deleted records by overriding the value automatically included by the middleware.

I'm looking to query for all records without regard for their deleted status. I tried doing an OR at the top level, but looking at the code, it only allows override of the specific deleted column meaning that even if I include an OR clause like the following, it's still overridden by the top level deletedAt = NULL

OR: [
  {
    deletedAt: {
      equals: null,
    },
  },
  {
    deletedAt: {
      not: null,
    },
  },
]

Is there a way to remove the top level deletedAt = NULL entirely so I can query for all records?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions