takusen-oracle-0.9.4.1: Database library with left-fold interface for Oracle.

Copyright(c) 2004 Oleg Kiselyov, Alistair Bayley
LicenseBSD-style
Maintaineroleg@pobox.com, alistair@abayley.org
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Database.Oracle.Enumerator

Description

 

Synopsis

Documentation

prepareQuery :: QueryString -> PreparationA Session PreparedStmtObj Source #

prepareLargeQuery :: Int -> QueryString -> PreparationA Session PreparedStmtObj Source #

prepareCommand :: QueryString -> PreparationA Session PreparedStmtObj Source #

prepareLargeCommand :: Int -> QueryString -> PreparationA Session PreparedStmtObj Source #

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 Source #

sqlbind :: String -> [BindA Session PreparedStmtObj BindObj] -> QueryStringTuned Source #

prefetch :: Int -> String -> [BindA Session PreparedStmtObj BindObj] -> QueryStringTuned Source #

cmdbind :: String -> [BindA Session PreparedStmtObj BindObj] -> CommandBind Source #

newtype Out a Source #

Constructors

Out a