Closed ProphetLamb closed 2 years ago
Strong typed Modify operations. I defined the structure required by modify in my protobuffer fork of surreal.
Modify
https://github.com/ProphetLamb/surrealdb/blob/upstream/main/proto/patch.proto
The request body is an array of Patches as defined above.
Patch
A weakly typed example usage in C# can be seen here:
https://github.com/ProphetLamb/Surreal.Net/blob/4a9a1973404356c21502e65e427b5f630c6b55dd/tests/Core.Tests/DatabaseTests.cs#L107-L117
Strong typed
Modify
operations. I defined the structure required by modify in my protobuffer fork of surreal.https://github.com/ProphetLamb/surrealdb/blob/upstream/main/proto/patch.proto
The request body is an array of
Patch
es as defined above.A weakly typed example usage in C# can be seen here:
https://github.com/ProphetLamb/Surreal.Net/blob/4a9a1973404356c21502e65e427b5f630c6b55dd/tests/Core.Tests/DatabaseTests.cs#L107-L117