Watching a single cell for changes? #3488
-
Hello! I'm trying to find a way to watch a single cell for changes. I wrote the following code:
The problem with this code is that when I modify a different column of the same Character row (e.g. age), an update is pushed to the stream with the value of the name column, even though the name column has not changed. I tried adding distinct() at the end to see if that would ignore the same value, but that doesn't seem to do anything in this instance. Is there a way to only watch a specific column of a specific row in the character table for changes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
SQlite currently doesn't support only watching a single row. You can use distictUnique from rxdart to filter out these events. |
Beta Was this translation helpful? Give feedback.
SQlite currently doesn't support only watching a single row.
You can use distictUnique from rxdart to filter out these events.