| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Bolt
- type BoltActionT = ReaderT Pipe
- connect :: MonadIO m => BoltCfg -> m Pipe
- close :: MonadIO m => Pipe -> m ()
- reset :: MonadIO m => Pipe -> m ()
- run :: MonadIO m => Pipe -> BoltActionT m a -> m a
- query :: MonadIO m => Text -> BoltActionT m [Record]
- query_ :: MonadIO m => Text -> BoltActionT m ()
- data Pipe
- data BoltCfg = BoltCfg {}
- class Default a where
- data Value
- type Record = Map Text Value
- class RecordValue a where
- at :: Monad m => Record -> Text -> m Value
- data Node = Node {}
- data Relationship = Relationship {}
- data URelationship = URelationship {}
- data Path = Path {
- pathNodes :: [Node]
- pathRelationships :: [URelationship]
- pathSequence :: [Int]
Documentation
type BoltActionT = ReaderT Pipe Source #
Monad Transformer to do all BOLT actions in
connect :: MonadIO m => BoltCfg -> m Pipe Source #
Creates new Pipe instance to use all requests through
query :: MonadIO m => Text -> BoltActionT m [Record] Source #
Runs Cypher query and returns list of obtained Records
Configuration of driver connection
Constructors
| BoltCfg | |
Fields
| |
A class for types with a default value.
Instances
The Value datatype generalizes all primitive BoltValues
class RecordValue a where Source #
Get exact type from Value
Minimal complete definition
Instances
Constructors
| Node | |
Constructors
| Path | |
Fields
| |