module Database.RethinkDB (
RethinkDBHandle,
connect,
close,
use,
run, run', runOpts,
next, collect,
RunOptions(..),
Cursor,
Response,
Result(..),
RethinkDBError(..),
SuccessCode(..),
ErrorCode(..),
ReQL,
JSON(..),
Database(..),
db, dbCreate, dbDrop, dbList,
Table(..), TableCreateOptions(..), IndexCreateOptions(..),
table, tableCreate, tableDrop, tableList,
indexCreate, indexDrop, indexList,
WriteResponse(..),
insert, upsert,
update, replace, delete,
returnVals, nonAtomic,
Bound(..),
get, filter, between, getAll,
innerJoin, outerJoin, eqJoin, mergeLeftRight,
map, withFields, concatMap, drop, take,
(!!), slice,
orderBy, Order(..),
indexesOf, isEmpty, (++), sample,
reduce, reduce1, nub, groupBy, elem,
length, sum, avg,
pluck, without,
merge, append,
prepend, (\\),
setInsert, setUnion, setIntersection, setDifference,
(!), hasFields,
insertAt, spliceAt, deleteAt, changeAt, keys,
(+), (), (*), (/), mod, (&&), (||),
(==), (/=), (>), (<), (<=), (>=), not,
(=~),
UTCTime(..), ZonedTime(..),
now, time, epochTime, iso8601, inTimezone, during,
timezone, date, timeOfDay, year, month, day, dayOfWeek, dayOfYear, hours, minutes, seconds,
toIso8601, toEpochTime,
apply, js, if', forEach, error,
handle, Expr(..), coerceTo,
asArray, asString, asNumber, asObject, asBool,
typeOf, info, json,
Obj(..), Object, Attribute(..), str, num, (.), (#),
def
) where
import Prelude ()
import Database.RethinkDB.ReQL
import Database.RethinkDB.Network
import Database.RethinkDB.Objects
import Database.RethinkDB.Driver
import Database.RethinkDB.Functions
import Database.RethinkDB.Time
import Data.Default