Safe Haskell | None |
---|
- data Cypher a
- data Entity a
- data CypherResult a = CypherResult {
- rescolumns :: [Text]
- resdata :: a
- runCypher :: Cypher a -> Hostname -> Port -> IO a
- cypher :: FromCypher a => Text -> Value -> Cypher a
- data CypherException
- type Hostname = ByteString
- type Port = Int
- data OneTuple a = OneTuple a
Documentation
All interaction with Neo4j is done through the Cypher monad. Use cypher
to add a query to the monad.
A neo4j node or edge
data CypherResult a Source
Raw result data returned by Neo4j. Only use this if you care about column headers.
CypherResult | |
|
Eq a => Eq (CypherResult a) | |
Show a => Show (CypherResult a) | |
ToJSON a0 => ToJSON (CypherResult a0) | |
FromJSON a0 => FromJSON (CypherResult a0) | |
FromJSON a => FromCypher (CypherResult a) |
data CypherException Source
An error in handling a Cypher query, either in communicating with the server or parsing the result
type Hostname = ByteStringSource
data OneTuple a
OneTuple is the singleton tuple data type.
OneTuple a | singleton tuple constructor |
Monad OneTuple | |
Functor OneTuple | |
MonadFix OneTuple | |
Applicative OneTuple | |
Foldable OneTuple | |
Traversable OneTuple | |
Bounded a => Bounded (OneTuple a) | |
Enum a => Enum (OneTuple a) | |
Eq a => Eq (OneTuple a) | |
Ord a => Ord (OneTuple a) | |
Read a => Read (OneTuple a) | |
Show a => Show (OneTuple a) | |
Ix a => Ix (OneTuple a) | |
ToJSON a => ToJSON (OneTuple a) | |
FromJSON a => FromJSON (OneTuple a) | |
Monoid a => Monoid (OneTuple a) | |
FromJSON a => FromCypher (OneTuple a) |