Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Feb 4, 2025
1 parent 2c86d30 commit a332599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sync-rules/src/sql_functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export function jsonExtract(sourceValue: SqliteValue, path: SqliteValue, operato
value = value[c];
}
if (operator == '->') {
// -> must always stringify, expect when it's null
// -> must always stringify, except when it's null
if (value == null) {
return null;
}
Expand Down

0 comments on commit a332599

Please sign in to comment.