We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da31cf3 commit d039e7aCopy full SHA for d039e7a
demo/spreadsheet_group_update.sql
@@ -0,0 +1,9 @@
1
+select 'json' as component;
2
+
3
+REPLACE INTO todos (id, title)
4
+SELECT cell.value->>'id', cell.value->>'value'
5
+FROM json_each(:all_cells) AS cell
6
+RETURNING
7
+ id,
8
+ title as value,
9
+ case title when '' then 'red' else 'green' end as color;
0 commit comments