-
Notifications
You must be signed in to change notification settings - Fork 49
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
API for pluggable create/update ReQL #227
Comments
This is a good idea. I like it. Any suggestions for the API? |
@nviennot I don't think it needs to be particularly crazy, just looking at code there is:
Maybe all we need is a class method that is Thoughts? Might not be the cleanest and I'm not 100% certain on functionality of the |
Closing this as it's just a bit too hefty to do so… |
Reopening because this usecase is common, and this needs to be addressed in some ways. |
I have quite a unique use case but I think it may be nice to have official support for rather than monkey patching.
Our application requires sync capabilities and to handle conflicts during writes I've devised a plan to atomically check a field while updating it like (sorry if syntax is not 100% correct):
This would be pretty easy to if there was pluggable access to how the RQL query is generated for inserts/updates on a per-model-class basis.
The text was updated successfully, but these errors were encountered: