| Takusen-0.8.2: Database library with left-fold interface, for PostgreSQL, Oracle, SQLite, ODBC. | Contents | Index |
|
Database.Oracle.Enumerator | Portability | non-portable | Stability | experimental | Maintainer | oleg@pobox.com, alistair@abayley.org |
|
|
|
|
|
Description |
Oracle OCI implementation of Database.Enumerator.
|
|
Synopsis |
|
|
|
Documentation |
|
data Session |
Instances | |
|
|
connect :: String -> String -> String -> ConnectA Session |
|
prepareStmt :: QueryString -> PreparationA Session PreparedStmtObj |
|
preparePrefetch :: Int -> QueryString -> PreparationA Session PreparedStmtObj |
|
prepareQuery :: QueryString -> PreparationA Session PreparedStmtObj |
|
prepareLargeQuery :: Int -> QueryString -> PreparationA Session PreparedStmtObj |
|
prepareCommand :: QueryString -> PreparationA Session PreparedStmtObj |
|
prepareLargeCommand :: Int -> QueryString -> PreparationA Session PreparedStmtObj |
Seems like an odd alternative to prepareCommand (what is a large command?)
but is actually useful for when the outer query it a procedure call that
returns one or more cursors. The prefetch count for the inner cursors is
inherited from the outer statement, which in this case is a command, rather
than a select. Normally prefetch would be irrelevant (and indeed it is for
the outer command), but we also save it in the statement so that it can be
reused for the child cursors.
|
|
sql :: String -> QueryString |
|
sqlbind :: String -> [BindA Session PreparedStmtObj BindObj] -> QueryStringTuned |
|
prefetch :: Int -> String -> [BindA Session PreparedStmtObj BindObj] -> QueryStringTuned |
|
cmdbind :: String -> [BindA Session PreparedStmtObj BindObj] -> CommandBind |
|
type StmtHandle = Ptr StmtStruct |
|
newtype Out a |
Constructors | | Instances | |
|
|
module Database.Enumerator |
|
Produced by Haddock version 0.7 |