Skip to main content

GovernanceDocumentsWhereHasInput

One entry in the unified whereHas filter for governanceDocuments.

input GovernanceDocumentsWhereHasInput {
relation: GovernanceDocumentsRelations!
mode: WhereHasMatchMode
ids: [ID!]
}

Fields​

GovernanceDocumentsWhereHasInput.relation ● GovernanceDocumentsRelations! non-null enum​

The relation being constrained.

GovernanceDocumentsWhereHasInput.mode ● WhereHasMatchMode enum​

How the ids list should be matched.

GovernanceDocumentsWhereHasInput.ids ● [ID!] list scalar​

The related model ids to match.

  • ANY with ids: matches rows whose relation includes at least one id.
  • ANY without ids (omitted or empty): degenerates to an existence check, matching rows that have any related entry at all.
  • ALL with ids: matches rows whose relation includes every id (one whereHas per id).
  • ALL without ids: no-op (no constraint applied).
  • NOT_ALL with ids: matches rows missing at least one id.
  • NOT_ALL without ids: no-op.
  • NONE: ids ignored; matches rows with no related entries.

Member Of​

governanceDocuments query