Comments (5)
Only Arrays where supported while deleting a model and its children. I'm adding support for the other various collections (CollectionList
, CollectionSet
and so on).
Now @zTristan in your example, you're just checking that the key Test:1:messages
has been deleted but not that TestMessage:1
(which was contained in Test:1:messages
) has been deleted also, is that the behaviour you were expecting at first sight ?
from johm.
I have done some improvments in my fork, I think I already solved this issue. Give me few days to make a pull request because I have done other changes. Some of them are:
- @SupportAll - id removal from collection when deleting
- Sentinel support - so JOhm can be used with HA Redis/Sentinel
from johm.
Sorry my Github mails were in my spam I did not notice your issue before!
I will look into it.
from johm.
I just released version 0.6.7 including the latest pull requests from @dpoldrugo and the fix for issue #9 and #5.
from johm.
Now @zTristan in your example, you're just checking that the key Test:1:messages has been deleted but not that TestMessage:1 (which was contained in Test:1:messages) has been deleted also, is that the behaviour you were expecting at first sight ?
@agrison yes, it was just the indexes for the collection. They were being left behind with no expire. The TestMessages still needed to be manually deleted.
Thanks for the update! I'll pull down 0.6.7 and verify!
from johm.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from johm.