Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains RethinkDB Expressions which are used to build queries.
- primaryKeyField :: Text
- primaryKeyFieldE :: Exp Text
- objectFieldE :: IsDatum a => Text -> Exp Object -> Exp a
- objectFieldEqE :: ToDatum a => Text -> a -> Exp Object -> Exp Bool
- primaryKeyEqE :: Text -> Exp Object -> Exp Bool
- headE :: (IsSequence a, IsDatum r) => Exp a -> Exp r
Documentation
primaryKeyField :: Text Source
The primary key in all our documents is the default "id".
primaryKeyFieldE :: Exp Text Source
Expression which represents the primary key field.
objectFieldE :: IsDatum a => Text -> Exp Object -> Exp a Source
Expression which represents the value of a field inside of an Object.
objectFieldEqE :: ToDatum a => Text -> a -> Exp Object -> Exp Bool Source
True if the object field matches the given value.