Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains RethinkDB Expressions which are used to build queries.
- objectsTable :: Exp Table
- sessionsTable :: Exp Table
- snapshotsTable :: Exp Table
- patchesTable :: Exp Table
- secretsTable :: Exp Table
- blobsTable :: Exp Table
- 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
- limitE :: IsSequence s => Int -> Exp s -> Exp s
- mkBounds :: ObjectId -> Int -> Int -> (Bound, Bound)
- mkBound :: ObjectId -> Int -> Bound
- objectSnapshotSequenceE :: ObjectId -> Int -> Int -> Exp Table
- objectPatchSequenceE :: ObjectId -> Int -> Int -> Exp Table
Documentation
objectsTable :: Exp Table Source #
sessionsTable :: Exp Table Source #
patchesTable :: Exp Table Source #
secretsTable :: Exp Table Source #
blobsTable :: Exp Table Source #
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.
primaryKeyEqE :: Text -> Exp Object -> Exp Bool Source #
True if the object's primary key matches the given string.