Current section

Files

Jump to
rethinkdb lib rethinkdb.ex
Raw

lib/rethinkdb.ex

defmodule RethinkDB do
defmacro __using__(_opts) do
quote do
import RethinkDB.Query
import RethinkDB
end
end
defdelegate connect(), to: RethinkDB.Connection
defdelegate connect(opts), to: RethinkDB.Connection
defdelegate run(query, pid), to: RethinkDB.Connection
defdelegate next(collection), to: RethinkDB.Connection
defdelegate prepare_and_encode(query), to: RethinkDB.Connection
end