-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
In my database I used +infinity as a value in my postgres database:
But on powersync-js and powersync-kotlin (on KMP) the value received is not a big date as expected, but null
Error in streamingSync: Error code: 1299, message: powersync_control: replacing into review_day, id = 2, data = {"id":2,"ordinal":2147483647,"parent_id":2,"period_end_exclusive":null,"period_start_inclusive":"2029-01-02T23:00:00.000000Z","type":1}: internal SQLite call returned CONSTRAINT_NOTNULL: NOT NULL constraint failed: review_day.period_end_exclusive
After some testing it seems like 9999-01-01 00:00:00.000000 +00:00 is the maximum value that persist their value to the client db.
Metadata
Metadata
Assignees
Labels
No labels