Skip to content

angee.graphql.writes

Shared GraphQL write-target helpers.

write_queryset

python
def write_queryset(model: type[models.Model]) -> models.QuerySet[models.Model]

Return a write-target queryset with row scope and full field values.

Both mutation apply steps and delete-preview history need to load the in-memory instance with field-read redaction disabled while preserving REBAC row scope. REBAC models expose this as for_write(); plain Django models have no field redaction and use their default manager.

Released under the AGPL-3.0 License.