Package | Description |
---|---|
com.caucho.quercus.lib.db |
Modifier and Type | Method and Description |
---|---|
static MysqliStatement |
MysqliModule.mysqli_prepare(Env env,
Mysqli conn,
java.lang.String query)
Prepares a statement.
|
static MysqliStatement |
MysqliModule.mysqli_stmt_init(Env env,
Mysqli conn)
Returns a statement for use with
MysqliModule.mysqli_stmt_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.MysqliStatement, java.lang.String) |
MysqliStatement |
Mysqli.prepare(Env env,
java.lang.String query)
returns a prepared statement or null on error.
|
MysqliStatement |
Mysqli.stmt_init(Env env)
returns a statement for use with
mysqli_stmt_prepare
|
Modifier and Type | Method and Description |
---|---|
boolean |
MysqliModule.mysql_stmt_close(Env env,
MysqliStatement stmt)
Closes the statement.
|
int |
MysqliModule.mysql_stmt_errno(Env env,
MysqliStatement stmt)
Returns the error number.
|
StringValue |
MysqliModule.mysql_stmt_error(Env env,
MysqliStatement stmt)
Returns a descrption of the error or an empty strng for no error.
|
static boolean |
MysqliModule.mysqli_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
|
static boolean |
MysqliModule.mysqli_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
|
static boolean |
MysqliModule.mysqli_execute(Env env,
MysqliStatement stmt)
|
static Value |
MysqliModule.mysqli_fetch(Env env,
MysqliStatement stmt)
|
static JdbcResultResource |
MysqliModule.mysqli_get_metadata(Env env,
MysqliStatement stmt)
|
static int |
MysqliModule.mysqli_param_count(Env env,
MysqliStatement stmt)
|
static int |
MysqliModule.mysqli_stmt_affected_rows(Env env,
MysqliStatement stmt)
Return the number of rows affected by an INSERT, UPDATE, or DELETE
query.
|
static boolean |
MysqliModule.mysqli_stmt_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
Binds variables for the parameter markers
in SQL statement that was passed to
MysqliModule.mysqli_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.Mysqli, java.lang.String) . |
static boolean |
MysqliModule.mysqli_stmt_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
Binds outparams to result set.
|
static boolean |
MysqliModule.mysqli_stmt_close(Env env,
MysqliStatement stmt)
Closes a statement.
|
Value |
MysqliModule.mysqli_stmt_data_seek(Env env,
MysqliStatement stmt,
int offset)
Seeks to a given result.
|
static int |
MysqliModule.mysqli_stmt_errno(Env env,
MysqliStatement stmt)
Returns the error code for the prepared statement.
|
static StringValue |
MysqliModule.mysqli_stmt_error(Env env,
MysqliStatement stmt)
Returns the error message for the prepared statement.
|
static boolean |
MysqliModule.mysqli_stmt_execute(Env env,
MysqliStatement stmt)
Executes a statement that has been prepared using
MysqliModule.mysqli_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.Mysqli, java.lang.String) . |
static Value |
MysqliModule.mysqli_stmt_fetch(Env env,
MysqliStatement stmt)
Fetch results from a prepared statement.
|
static int |
MysqliModule.mysqli_stmt_field_count(Env env,
MysqliStatement stmt)
Undocumented
|
static boolean |
MysqliModule.mysqli_stmt_free_result(Env env,
MysqliStatement stmt)
Frees the result.
|
static Value |
MysqliModule.mysqli_stmt_num_rows(Env env,
MysqliStatement stmt)
Returns the number of rows.
|
static int |
MysqliModule.mysqli_stmt_param_count(Env env,
MysqliStatement stmt)
Returns an integer representing the number of parameters
or -1 if no query has been prepared.
|
static boolean |
MysqliModule.mysqli_stmt_prepare(Env env,
MysqliStatement stmt,
java.lang.String query)
Prepares a statment with a query.
|
static boolean |
MysqliModule.mysqli_stmt_reset(Env env,
MysqliStatement stmt)
Resets a statment.
|
static JdbcResultResource |
MysqliModule.mysqli_stmt_result_metadata(Env env,
MysqliStatement stmt)
Returns result information for metadata
|
static Value |
MysqliModule.mysqli_stmt_sqlstate(Env env,
MysqliStatement stmt)
Returns an error string.
|
static boolean |
MysqliModule.mysqli_stmt_store_result(Env env,
MysqliStatement stmt)
Saves the result.
|