If a set is undefined, it's not possible to assign an empty set.
Doesn't work. my_set is still null after the update.
triplit.http.update('my_table', row => {
// row.my_set is null
row.my_set= new Set()
}
Works. my_set is an empty set after the update.
triplit.http.update('my_table', row => {
// row.my_set is null
row.my_field = new Set()
section.my_set.add('__TRIGGER__')
section.my_set.delete('__TRIGGER__')
})