Commit 446d752
Cursor.Observe() 'removed' event are not firing (#38)
* Cursor.Observe() 'removed' event are not firing
I found that the 'removed' event in Cursor.Observe() are not firing, I guess its because
`Data.db[collection].findOne({$and:[{_id:newDocument._id}, cursor._selector]})` returns null for deleted documents, maybe you can find a better solution than mine, thank you.
* Update Collection.js
Co-authored-by: Nathaniel Dsouza <[email protected]>1 parent d746265 commit 446d752
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments