rethinkdb-1.8.0.3: RethinkDB driver for Haskell

Safe HaskellNone

Database.RethinkDB.ReQL

Description

Building RQL queries in Haskell

Synopsis

Documentation

data ReQL Source

An RQL term

Constructors

ReQL 

op :: (Arr a, Obj o) => TermType -> a -> o -> ReQLSource

Build a term

type Backtrace = [Frame]Source

class Expr e whereSource

Convert other types into ReqL expressions

Methods

expr :: e -> ReQLSource

str :: String -> ReQLSource

A shortcut for inserting strings into ReQL expressions Useful when OverloadedStrings makes the type ambiguous

num :: Double -> ReQLSource

A shortcut for inserting numbers into ReQL expressions

data Attribute Source

A key/value pair used for building objects

Constructors

forall e . Expr e => Text := e 

Instances

cons :: Expr e => e -> Array -> ArraySource

arr :: Arr a => a -> ArraySource

data Object Source

A list of key/value pairs

Constructors

Object 

Instances

class Obj o whereSource

Convert into a ReQL object

Methods

obj :: o -> ObjectSource

Instances

returnVals :: ReQL -> ReQLSource

Include the value of single write operations in the returned object