hasbolt-extras-0.0.0.21: Extras for hasbolt library

Safe HaskellNone
LanguageHaskell2010

Database.Bolt.Extras.Utils

Synopsis

Documentation

dummyId :: Int Source #

dummyId is used to load Node and URelationship into database, because id from database is not known for such moment.

union :: Node -> Node -> Node Source #

Nodes can be merged. union is useful when you have to store in one node several labels and props from different classes.

currentLoc :: Q Exp Source #

currentLoc shows module name and line where this expression is used.

exactValues :: (Monad m, RecordValue a) => Text -> [Record] -> m [a] Source #

Extract values

exactValuesM :: (MonadIO m, RecordValue a) => Text -> [Record] -> BoltActionT m [Maybe a] Source #

Extract values (maybe)