Class Index | File Index

Classes


Class CUBRIDConnection


Defined in: CUBRIDConnection.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CUBRIDConnection(brokerServer, brokerPort, user, password, database, cacheTimeout)
Create a new CUBRID connection instance
Method Summary
Method Attributes Method Name and Description
 
batchExecuteNoQuery(sqls, callback)
Execute SQL statements in batch mode
 
beginTransaction(callback)
Start transaction
 
close(callback)
Close connection
 
closeQuery(queryHandle, callback)
Close query
 
commit(callback)
CommitPacket transaction
 
connect(callback)
Connect to database
 
execute(sql, callback)
Execute a SQL statement which does not return records
 
executeWithParams(sql, arrParamsValues, arrDelimiters, callback)
Execute sql statement with parameters
 
fetch(queryHandle, callback)
Fetch query next rows results
 
getEngineVersion(callback)
Get the server database engine version
 
getSchema(schemaType, callback)
Get databases schema information
 
lobRead(lobObject, pos, length, callback)
Read data lob object
 
query(sql, callback)
Execute query and retrieve rows results
 
queryWithParams(sql, arrParamsValues, arrDelimiters, callback)
Execute query with parameters
 
rollback(callback)
RollbackPacket transaction
 
setAutoCommitMode(autoCommitMode, callback)
Set session auto-commit mode
Class Detail
CUBRIDConnection(brokerServer, brokerPort, user, password, database, cacheTimeout)
Create a new CUBRID connection instance
Parameters:
brokerServer
brokerPort
user
password
database
cacheTimeout
Method Detail
batchExecuteNoQuery(sqls, callback)
Execute SQL statements in batch mode
Parameters:
sqls
callback

beginTransaction(callback)
Start transaction
Parameters:
callback

close(callback)
Close connection
Parameters:
callback

closeQuery(queryHandle, callback)
Close query
Parameters:
queryHandle
callback

commit(callback)
CommitPacket transaction
Parameters:
callback

connect(callback)
Connect to database
Parameters:
callback

execute(sql, callback)
Execute a SQL statement which does not return records
Parameters:
sql
callback

{*} executeWithParams(sql, arrParamsValues, arrDelimiters, callback)
Execute sql statement with parameters
Parameters:
sql
arrParamsValues
arrDelimiters
callback
Returns:
{*}

fetch(queryHandle, callback)
Fetch query next rows results
Parameters:
queryHandle
callback

getEngineVersion(callback)
Get the server database engine version
Parameters:
callback

getSchema(schemaType, callback)
Get databases schema information
Parameters:
schemaType
callback

lobRead(lobObject, pos, length, callback)
Read data lob object
Parameters:
lobObject
pos
length
callback

query(sql, callback)
Execute query and retrieve rows results
Parameters:
sql
callback

{*} queryWithParams(sql, arrParamsValues, arrDelimiters, callback)
Execute query with parameters
Parameters:
sql
arrParamsValues
arrDelimiters
callback
Returns:
{*}

rollback(callback)
RollbackPacket transaction
Parameters:
callback

setAutoCommitMode(autoCommitMode, callback)
Set session auto-commit mode
Parameters:
autoCommitMode
callback

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Dec 15 2012 12:31:19 GMT+0100 (CET)