Add config driven presets for insert, update and upsert

This commit is contained in:
Vikram Rangnekar
2019-10-30 03:27:11 -04:00
parent 8ae7210e70
commit b87ba1fcd0
7 changed files with 65 additions and 38 deletions

View File

@ -169,7 +169,7 @@ roles:
insert:
filters: ["{ user_id: { eq: $user_id } }"]
columns: ["id", "name", "description" ]
set:
presets:
- created_at: "now"
update:
@ -177,7 +177,7 @@ roles:
columns:
- id
- name
set:
presets:
- updated_at: "now"
delete: