Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about current development #2

Open
fuyifan opened this issue May 16, 2018 · 2 comments
Open

question about current development #2

fuyifan opened this issue May 16, 2018 · 2 comments

Comments

@fuyifan
Copy link

fuyifan commented May 16, 2018

hi Alexey, I notice that _ORM DOESN'T support cascade delete operation now, you must delete your relations manually. I want know from what point that you remove the original implementation.

Further more, i find this project has been suspended for almost 9 month. Will you want continue to finish current version and do the future plan?

@asvetliakov
Copy link
Owner

I want know from what point that you remove the original implementation

Since redis doesn't provide any constraint checks as RD, it's very expensive and time consuming to implement it manually, especially for nested relations. This will require storing separate back-mappings key for each relation. Also it becomes more complicated when using redis expire keys.
Since redis is not RD and i see no point to use it as full-featured RD, i just dropped cascade deleting from initial implementation and leave this task to end-user, actually it's not tedious task to write few lines to delete object and it's relations and you won't obtain unexpected results.

i find this project has been suspended for almost 9 month.

Yes, suspended but not abandoned. I'm using this in production and will continue to use it. Will return back to my original plan when i'll have a free time and mental capabilities 🌵 (should be this summer)

@slozano1
Copy link

great work man, you should continue, one more tester here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants