Update filters section in guide

This commit is contained in:
Vikram Rangnekar 2019-10-10 01:35:35 -04:00
parent 9299855d8a
commit 85a74ed30c

View File

@ -1144,7 +1144,10 @@ database:
tables:
- name: users
# This filter will overwrite defaults.filter
filter: ["{ id: { eq: $user_id } }"]
# filter: ["{ id: { eq: $user_id } }"]
# filter_query: ["{ id: { eq: $user_id } }"]
filter_update: ["{ id: { eq: $user_id } }"]
filter_delete: ["{ id: { eq: $user_id } }"]
- name: products
# Multiple filters are AND'd together