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: lib/rethinkdb/connection.ex
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,8 @@ defmodule RethinkDB.Connection do
96
96
* `durability` - possible values are 'hard' and 'soft'. In soft durability mode RethinkDB will acknowledge the write immediately after receiving it, but before the write has been committed to disk.
97
97
* `noreply` - set to true to not receive the result object or cursor and return immediately.
98
98
* `profile` - whether or not to return a profile of the query’s execution (default: false).
99
+
* `time_format` - what format to return times in (default: :native). Set this to :raw if you want times returned as JSON objects for exporting.
100
+
* `binary_format` - what format to return binary data in (default: :native). Set this to :raw if you want the raw pseudotype.
99
101
"""
100
102
defrun(query,conn,opts\\[])do
101
103
timeout=Dict.get(opts,:timeout,5000)
@@ -110,7 +112,7 @@ defmodule RethinkDB.Connection do
`noreply_wait` ensures that previous queries with the noreply flag have been processed by the server. Note that this guarantee only applies to queries run on the given connection.
0 commit comments