We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a4c83 commit cb2a471Copy full SHA for cb2a471
1 file changed
packages/common/src/local-first/Evolu.ts
@@ -17,6 +17,7 @@ import {
17
isSqlMutation,
18
SafeSql,
19
SqliteBoolean,
20
+ sqliteBooleanToBoolean,
21
SqliteError,
22
SqliteQuery,
23
} from "../Sqlite.js";
@@ -735,7 +736,9 @@ const createEvoluInstance =
735
736
id,
737
values,
738
isInsert: kind === "insert" || kind === "upsert",
- isDelete: SqliteBoolean.is(isDeleted) ? Boolean(isDeleted) : null,
739
+ isDelete: SqliteBoolean.is(isDeleted)
740
+ ? sqliteBooleanToBoolean(isDeleted)
741
+ : null,
742
};
743
744
assert(
0 commit comments