1 #ifndef _CURSOR_IMPL_HPP_
2 #define _CURSOR_IMPL_HPP_
88 virtual void Update(
const string&
table,
const string& updateSql);
map< string, CVariant * > Parameters
virtual void Update(const string &table, const string &updateSql)
Update statement for cursor.
virtual void Close()
Close cursor.
class CxBlobWriter * m_wr
virtual void SetParam(const CVariant &v, const CDBParamVariant ¶m)
Set input parameter.
virtual IResultSet * Open()
Open cursor and get corresponding resultset.
CNcbiOstream & GetBlobOStream(unsigned int col, size_t blob_size, TBlobOStreamFlags flags, size_t buf_size)
Get output stream for BLOB updates, requires BLOB column number.
virtual void Cancel()
Cancel cursor.
virtual void Action(const CDbapiEvent &e)
CCursor(const string &name, const string &sql, int batchSize, CConnection *conn)
virtual IWriter * GetBlobWriter(unsigned int col, size_t blob_size, TBlobOStreamFlags flags)
Get Blob Writer.
CDB_CursorCmd * GetCursorCmd()
virtual IConnection * GetParentConn()
Get the parent connection.
virtual void Delete(const string &table)
Delete statement for cursor.
A very basic data-write interface.
Defines the database API innterfaces for a variety of DBMS.
static CS_CONNECTION * conn
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table
NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.