Qore Programming Language Reference Manual
1.8.0
|
Functions | |
bool | Qore::cx_first () |
Returns True if currently iterating the first element in a context statement, False if not. More... | |
bool | Qore::cx_last () |
Returns True if currently iterating the last element in a context statement, False if not. More... | |
int | Qore::cx_pos () |
Returns the current row number within the active context statement (starting from 0) More... | |
int | Qore::cx_total () |
Returns the total number of rows within the active context statement. More... | |
auto | Qore::cx_value (string key) |
Returns the current value of the given column while iterating a context statement. More... | |
bool Qore::cx_first | ( | ) |
Returns True if currently iterating the first element in a context statement, False if not.
CONTEXT-ERROR | this exception is thrown if called without an active context statement |
bool Qore::cx_last | ( | ) |
Returns True if currently iterating the last element in a context statement, False if not.
CONTEXT-ERROR | this exception is thrown if called without an active context statement |
int Qore::cx_pos | ( | ) |
Returns the current row number within the active context statement (starting from 0)
CONTEXT-ERROR | this exception is thrown if called without an active context statement |
int Qore::cx_total | ( | ) |
Returns the total number of rows within the active context statement.
CONTEXT-ERROR | this exception is thrown if called without an active context statement |
auto Qore::cx_value | ( | string | key | ) |
Returns the current value of the given column while iterating a context statement.
key | the column name to return the value for |
CONTEXT-ERROR | this exception is thrown if called without an active context statement |
ENCODING-CONVERSION-ERROR | the given string could not be converted to the default character encoding |