You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/managing-documents/writing.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -175,3 +175,21 @@ the response headers as well.
175
175
The `status_code` and `text` fields in the `Response` object will typically be of the most interest when
176
176
debugging a problem. Please see
177
177
[Response API documentation](https://docs.python-requests.org/en/latest/api/#requests.Response) for complete information on what's available in this object.
178
+
179
+
180
+
## Optic Update
181
+
182
+
Beginning with version 1.2.0 of this client and MarkLogic Server 11.2, the client permits you to send an Optic
183
+
update query to MarkLogic via the new `client.rows.update` method. The first parameter is the Optic update query
184
+
(either DSL or serialized) and the second parameter specifies if the entire original response object should be
185
+
returned (`True`) or if only the data should be returned (`False`) upon a success (2xx) response. Note that if
186
+
the status code of the response is not 2xx, then the entire response is always returned.
0 commit comments