Package | Description |
---|---|
com.caucho.quercus.lib.db |
Modifier and Type | Method and Description |
---|---|
protected MysqliResult |
Mysqli.metaQuery(Env env,
java.lang.String sql,
java.lang.String catalog)
Used by the
various mysqli functions to query the database
for metadata about the resultset which is
not in ResultSetMetaData.
|
MysqliResult |
MysqliStatement.result_metadata(Env env)
mysqli_stmt_result_metadata seems to be some initial
step towards getting metadata from a resultset created
by a SELECT run by a prepared statement.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MysqlModule.mysql_data_seek(Env env,
MysqliResult result,
int rowNumber)
Moves the intenal row pointer of the MySQL result to the
specified row number, 0 based.
|
static Value |
MysqlModule.mysql_db_name(Env env,
MysqliResult result,
int row,
Value field)
Retrieves the database name after a call to mysql_list_dbs()
|
static Value |
MysqlModule.mysql_dbname(Env env,
MysqliResult result,
int row)
Deprecated alias for mysql_db_name
|
static Value |
MysqlModule.mysql_fetch_array(Env env,
MysqliResult result,
int type)
Returns a row from the connection
|
static Value |
MysqlModule.mysql_fetch_assoc(Env env,
MysqliResult result)
Returns a row from the connection
|
static Value |
MysqlModule.mysql_fetch_field(Env env,
MysqliResult result,
int fieldOffset)
Returns an object containing field information.
|
static Value |
MysqlModule.mysql_fetch_lengths(Env env,
MysqliResult result)
Returns an array of lengths.
|
static Value |
MysqlModule.mysql_fetch_object(Env env,
MysqliResult result,
java.lang.String className,
Value[] args)
Returns an object with properties that correspond to the fetched row
and moves the data pointer ahead.
|
static Value |
MysqlModule.mysql_fetch_row(Env env,
MysqliResult result)
Returns a numerical row from the result, FALSE if no more rows.
|
static Value |
MysqlModule.mysql_field_flags(Env env,
MysqliResult result,
int fieldOffset)
Returns the field flags of the specified field.
|
static Value |
MysqlModule.mysql_field_len(Env env,
MysqliResult result,
int fieldOffset)
Returns the length of the specified field
|
static Value |
MysqlModule.mysql_field_name(Env env,
MysqliResult result,
int fieldOffset)
Returns field name at given offset.
|
static boolean |
MysqlModule.mysql_field_seek(Env env,
MysqliResult result,
int fieldOffset)
Seeks to the specified field offset, the field offset is
is used as the default for the next call to
MysqlModule.mysql_fetch_field(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.MysqliResult, int) . |
static Value |
MysqlModule.mysql_field_table(Env env,
MysqliResult result,
int fieldOffset)
Returns the table corresponding to the field.
|
static Value |
MysqlModule.mysql_field_type(Env env,
MysqliResult result,
Value fieldOffset)
Returns the field type.
|
static Value |
MysqlModule.mysql_fieldname(Env env,
MysqliResult result,
int fieldOffset)
Deprecated alias for mysql_field_name.
|
static Value |
MysqlModule.mysql_fieldtable(Env env,
MysqliResult result,
int fieldOffset)
Deprecated alias for mysql_field_table.
|
static Value |
MysqlModule.mysql_fieldtype(Env env,
MysqliResult result,
Value fieldOffset)
Deprecated alias for mysql_field_type.
|
static boolean |
MysqlModule.mysql_free_result(MysqliResult result)
Frees a mysql result.
|
static boolean |
MysqlModule.mysql_freeresult(MysqliResult result)
Alias for mysql_free_result.
|
static Value |
MysqlModule.mysql_num_fields(Env env,
MysqliResult result)
Get number of fields in result
|
static Value |
MysqlModule.mysql_num_rows(Env env,
MysqliResult result)
Retrieves the number of rows in a result set.
|
static Value |
MysqlModule.mysql_numfields(Env env,
MysqliResult result)
Deprecated alias for mysql_num_fields
|
static Value |
MysqlModule.mysql_numrows(Env env,
MysqliResult result)
Undocumented alias for {#link #mysql_num_rows}.
|
static Value |
MysqlModule.mysql_result(Env env,
MysqliResult result,
int row,
Value field)
Returns the value of one field in the result set.
|
static Value |
MysqlModule.mysql_tablename(Env env,
MysqliResult result,
int i)
Retrieves the table name corresponding to a field, using
a result return by
MysqlModule.mysql_list_tables(com.caucho.quercus.env.Env, com.caucho.quercus.env.StringValue, com.caucho.quercus.lib.db.Mysqli) . |
static Value |
MysqliModule.mysqli_data_seek(Env env,
MysqliResult result,
int rowNumber)
Seeks the specified row.
|
static Value |
MysqliModule.mysqli_fetch_array(Env env,
MysqliResult result,
int type)
Returns a row for the result.
|
static Value |
MysqliModule.mysqli_fetch_assoc(Env env,
MysqliResult result)
Returns an associative array from the result.
|
static Value |
MysqliModule.mysqli_fetch_field_direct(Env env,
MysqliResult result,
int fieldOffset)
Returns the field metadata.
|
static Value |
MysqliModule.mysqli_fetch_field(Env env,
MysqliResult result)
Returns the field metadata.
|
static Value |
MysqliModule.mysqli_fetch_fields(Env env,
MysqliResult result)
Returns an array of field metadata.
|
static Value |
MysqliModule.mysqli_fetch_lengths(Env env,
MysqliResult result)
Returns an array of integers respresenting the size of each column
FALSE if an error occurred.
|
static Value |
MysqliModule.mysqli_fetch_object(Env env,
MysqliResult result,
java.lang.String className,
Value[] args)
Returns an object with properties that correspond
to the fetched row and moves the data pointer ahead.
|
static Value |
MysqliModule.mysqli_fetch_row(Env env,
MysqliResult result)
Returns a row for the result.
|
static boolean |
MysqliModule.mysqli_field_seek(Env env,
MysqliResult result,
int fieldOffset)
Seeks to the specified field offset.
|
static int |
MysqliModule.mysqli_field_tell(Env env,
MysqliResult result)
Returns the position of the field cursor used for the last
mysqli_fetch_field() call.
|
static boolean |
MysqliModule.mysqli_free_result(MysqliResult result)
Frees a mysqli result
|
static Value |
MysqliModule.mysqli_num_fields(MysqliResult result)
Returns the number of fields from specified result set.
|
static Value |
MysqliModule.mysqli_num_rows(Env env,
MysqliResult result)
Returns the number of rows in the result set.
|