Contents
Index
Org.Org.Semantic.HBase.Encoding.SQL
Synopsis
sqlEscape
:: [Word8] -> String
class
SQLType
a
where
toSQL
:: a -> String
module
Org.Org.Semantic.HBase.Code.Compile.Value
data
Value
t
isNullValue
::
Value
t ->
Value
Bool
notNullValue
::
Value
t ->
Value
Bool
data
Row
type
Column
t = String
propertyValue
::
Row
->
Column
t ->
Value
t
(>.<)
::
Row
->
Column
t ->
Value
t
type
Table
= String
type
SelectMonad
m =
StateMonad
m
SelectState
data
JoinedTable
=
MkJoinedTable
Table
[
Row
->
Row
->
Value
Bool]
newJoinedRow
::
Monad
m =>
Table
-> [
JoinedTable
] ->
SelectMonad
m (
Row
, [
Row
])
newRow
::
Monad
m =>
Table
->
SelectMonad
m
Row
addConstraint
::
Monad
m =>
Value
Bool ->
SelectMonad
m ()
equivalence
::
Monad
m =>
Value
t ->
Value
t ->
SelectMonad
m ()
getSQLSelect
::
Monad
m =>
SelectMonad
m [
Any
Value
] -> m String
idColumn
::
Column
Integer
attachRowByID
::
Monad
m =>
Value
Integer ->
Table
->
SelectMonad
m
Row
attachPropertyByID
::
Monad
m =>
Value
Integer ->
Table
->
Column
t ->
SelectMonad
m (
Value
t)
data
SQLItem
ft =
MkSQLItem
ft [Word8]
class
Session
m db session =>
SQLSession
ft m db session | db -> ft, db m -> session, session m -> db
where
sqlExec
:: session -> String -> m ()
sqlExecResult
::
forall
a . session -> String -> ([
SQLItem
ft] -> m a) -> m [a]
Produced by
Haddock
version 0.6