File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ void main() {
151151 [testId, 'INFO' , 'test log' ]);
152152
153153 expect (
154- await powersync
155- . getAll ( "SELECT data ->> ' id' as id FROM ps_crud ORDER BY id" ),
154+ await powersync. getAll (
155+ "SELECT json_extract( data, ' \$ . id') as id FROM ps_crud ORDER BY id" ),
156156 equals ([
157157 {'id' : testId}
158158 ]));
@@ -179,8 +179,8 @@ void main() {
179179 .get ('SELECT quantity FROM assets WHERE id = ?' , [testId]),
180180 equals ({'quantity' : bigNumber}));
181181 expect (
182- await powersync
183- . getAll ( ' SELECT data ->> \' id \' as id FROM ps_crud ORDER BY id' ),
182+ await powersync. getAll (
183+ " SELECT json_extract( data, ' \$ .id') as id FROM ps_crud ORDER BY id" ),
184184 equals ([
185185 {"id" : testId}
186186 ]));
You can’t perform that action at this time.
0 commit comments