Closed jcrugzz closed 9 years ago
Well, I'm glad that you like it!
And of course I would be interested in a _changes
implementation.
For the way is working (the this.databases
is only an object whose properties are the databases), I guess it would make sense if the changes are saved like an array stored as property of each database, and directly naming that property as _changes
.
But other possible way would be to save each change directly on the document where it was made, under some property named with a magic string. I think the first way is easier and probably better, but I'm not sure. What you think?
Well, thanks a lot for the interest ;)
Implemented here: #8.
Just came across this project, I am so glad this exists. Anything that requires having more than one couch becomes real annoying to test. Specifically I've been wanting something like this in order to write some tests for
overwatch
. I'd love to help out with a basic_changes
implementation when I have some bandwidth. Let me know if this interests you :).