Skip to content

Commit 0ea4af3

Browse files
committed
add docs
1 parent 29e485b commit 0ea4af3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rethinkdb/connection.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ defmodule RethinkDB.Connection do
9393
9494
* `timeout` - How long to wait for a response
9595
* `db` - Default database to use for query. Can also be specified as part of the query.
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+
* `noreply` - set to true to not receive the result object or cursor and return immediately.
98+
* `profile` - whether or not to return a profile of the query’s execution (default: false).
9699
"""
97100
def run(query, conn, opts \\ []) do
98101
timeout = Dict.get(opts, :timeout, 5000)

0 commit comments

Comments
 (0)