76 abstract nothing
bind( ...);
106 abstract nothing
bindArgs(softlist<auto> vargs);
229 abstract nothing
close();
240 abstract nothing
commit();
274 abstract nothing
define();
315 abstract nothing
exec( ...);
346 abstract nothing
execArgs(softlist<auto> vargs);
407 abstract list<auto>
fetchRows(softint rows = -1);
448 abstract *
string getSQL();
488 abstract bool next();
503 abstract nothing
prepare(
string sql, ...);
541 abstract bool valid();
This class defines an abstract interface for the SQLStatement class.
Definition: QC_AbstractSQLStatement.dox.h:11
abstract *hash< auto > fetchRow()
Retrieves the current row as a hash where the keys are the column names and the values are the column...
abstract list< auto > fetchRows(softint rows=-1)
Retrieves a block of rows as a list of hashes with the maximum number of rows determined by the argum...
abstract int affectedRows()
Returns the number of rows affected by the last call to AbstractSQLStatement::exec() ...
abstract hash< auto > describe()
Describes columns in the statement result.
abstract hash< auto > fetchColumns(softint rows=-1)
Retrieves a block of rows as a hash of lists with the maximum number of rows determined by the argume...
abstract nothing execArgs(softlist< auto > vargs)
Executes the bound statement with any bound buffers, also optionally allows binding placeholder buffe...
abstract nothing bindArgs(softlist< auto > vargs)
Binds placeholder buffer specifications and values given as a list in the single argument to the meth...
abstract nothing beginTransaction()
Manually starts a transaction and allocates a connection or grabs the transaction lock according to t...
abstract nothing prepare(string sql,...)
Saves an SQL statement that will be prepared and executed later, along with optional arguments...
abstract nothing close()
Closes the statement if it is open, however this method does not release the connection or transactio...
abstract nothing prepareRaw(string sql)
Saves an SQL statement that will be prepared and executed later.
abstract hash< auto > getOutput()
Retrieves output buffers as a hash; result sets will be returned as hashes of lists.
abstract nothing exec(...)
Executes the bound statement with any bound buffers, also optionally allows binding placeholder buffe...
abstract nothing commit()
Commits the transaction, releases the connection or the transaction lock according to the object used...
abstract nothing bind(...)
Binds placeholder buffer specifications and values to buffers defined in AbstractSQLStatement::prepar...
abstract nothing define()
Performs an explicit define operation on the SQLStatement.
abstract nothing bindPlaceholders(...)
Binds placeholder buffer specifications to buffers defined in AbstractSQLStatement::prepare() ...
abstract *hash< auto > getValue()
Retrieves the current row as a hash where the keys are the column names and the values are the column...
abstract nothing bindValues(...)
Binds values to value buffer specifications to buffers defined in AbstractSQLStatement::prepare() ...
abstract nothing rollback()
Closes the SQLStatement, performs a transaction rollback, and releases the connection or the transact...
abstract nothing bindPlaceholdersArgs(softlist< auto > vargs)
Binds placeholder buffer specifications given as a list in the single argument to the method to buffe...
abstract *string getSQL()
Returns the current SQL string set with the call to AbstractSQLStatement::prepare() or AbstractSQLSta...
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
abstract nothing bindValuesArgs(softlist< auto > vargs)
Binds values to value buffer specifications given as a list in the single argument to the method to v...
abstract bool valid()
returns True if the object is currently pointing at a valid element, False if not (use when iterating...
abstract hash< auto > getOutputRows()
Retrieves output buffers as a hash; result sets will be returned as lists of hashes.
abstract bool currentThreadInTransaction()
Returns True if the current thread is in a transaction (i.e. holds the transaction lock)...
abstract bool active()
Returns True if the object is currently active and has a connection or transaction lock allocated to ...
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10
abstract bool next()
Increments the row pointer when retrieving rows from a select statement; returns True if there is a r...