Closed mivinci closed 4 months ago
Hey @mivinci thanks for being patient with us, we have been working on a big pull request over some time to get the backend of the python client to be powered by Rust which adds a lot more features. In this pull request, we are adding the merge as you can see here:
You will be able to call in async and blocking functions for the new python client
Cool! That looks awesome and way better.
Is your feature request related to a problem?
The current HTTP client has no method
merge
to partially update record(s) by performing a query likeDescribe the solution
According to the official documentation from https://surrealdb.com/docs/integration/http#modify-one, it can be easily solved by adding the following code to class
SurrealHTTP
and I've tested that it works correctly.
Alternative methods
no yet
SurrealDB version
surreal 1.0.0 for Linux on x86_64
surrealdb.py version
surrealdb.py 0.3.1 for Linux on x86_64 using Python 3.10
Contact Details
mivinci@qq.com
Is there an existing issue for this?
Code of Conduct