Giter VIP home page Giter VIP logo

Comments (5)

agrison avatar agrison commented on July 2, 2024 1

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.

dpoldrugo avatar dpoldrugo commented on July 2, 2024

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.

agrison avatar agrison commented on July 2, 2024

Sorry my Github mails were in my spam I did not notice your issue before!
I will look into it.

from johm.

agrison avatar agrison commented on July 2, 2024

I just released version 0.6.7 including the latest pull requests from @dpoldrugo and the fix for issue #9 and #5.

from johm.

zTristan avatar zTristan commented on July 2, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.