I have created appsync api with postgresql as datasource. Now it's very straight to create , update and delete any record with graphql. But i want something like, whenever any update takes places , i can update value of that particular column only. Eg lets we have user table with 3 fields:
user_id
name
city
now when we update city for user than only city should update:
mutation update{
updateUser(input:{user_id:"xxxxx",city:"xyz"}){
user_id
name
city
}}
user update input:
input updateUserInput{
user_id!
name
city
}
Is there any way to do this in vtx template or we have to use lambda as datasource and then do this.