Skip to content

Add ability to insert, update and delete using QueryBuilder #564

Open
@hos

Description

@hos

In some cases it may be useful to have an option to append another query to automatically generated one. For example when I want to set update_at on update mutation. In this case I think it will be nice to wrap the main resolver and add query which will be executed with the main one. In this case queryBuilder.update will be useful.

Another case which I can think of now, creating journal of changes for example

user 6 created resource 23 (json payload of data)
user 4 updated resource 40 (json payload of changes)

In this case queryBuilder.insert will be useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions