module Database.GP
( selectById,
select,
entitiesFromRows,
sql,
persist,
insert,
insertReturning,
insertMany,
update,
updateMany,
delete,
deleteMany,
setupTableFor,
Conn(..),
connect,
Database(..),
TxHandling (..),
ConnectionPool,
createConnPool,
withResource,
Entity (..),
GToRow,
GFromRow,
columnNameFor,
maybeFieldTypeFor,
TypeInfo (..),
typeInfo,
PersistenceException(..),
WhereClauseExpr,
Field,
field,
(&&.),
(||.),
(=.),
(>.),
(<.),
(>=.),
(<=.),
(<>.),
like,
between,
in',
isNull,
not',
sqlFun,
allEntries,
byId,
orderBy,
SortOrder (..),
limit,
limitOffset,
NonEmpty(..),
SqlValue,
fromSql,
toSql,
quickQuery,
run,
commit,
rollback,
withTransaction,
runRaw,
disconnect
)
where
import Database.GP.GenericPersistence
import Database.HDBC (SqlValue, fromSql, toSql, quickQuery, run,
commit, rollback, withTransaction,
IConnection(runRaw, disconnect))