You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
benjie
changed the title
Add ability to insert, update and delete using queryBuilder
Add ability to insert, update and delete using QueryBuilder
Nov 13, 2019
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 casequeryBuilder.update
will be useful.Another case which I can think of now, creating journal of changes for example
In this case
queryBuilder.insert
will be useful.The text was updated successfully, but these errors were encountered: