NWNX:EE  8193.36.12
nwnx_sql.nss File Reference
#include "nwnx"

Go to the source code of this file.

Functions

int NWNX_SQL_PrepareQuery (string query)
 Prepares the provided query for execution. More...
 
int NWNX_SQL_ExecutePreparedQuery ()
 Executes a query which has been prepared. More...
 
int NWNX_SQL_ExecuteQuery (string query)
 Directly execute an SQL query. More...
 
int NWNX_SQL_ReadyToReadNextRow ()
 
void NWNX_SQL_ReadNextRow ()
 Reads the next row of returned data. More...
 
string NWNX_SQL_ReadDataInActiveRow (int column=0)
 
void NWNX_SQL_PreparedInt (int position, int value)
 Set the int value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedString (int position, string value)
 Set the string value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedFloat (int position, float value)
 Set the float value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedObjectId (int position, object value)
 Set the ObjectId value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedObjectFull (int position, object value, int base64=TRUE)
 Set the full serialized object value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedNULL (int position)
 Set the NULL value of a prepared statement at given position. More...
 
void NWNX_SQL_PreparedJson (int position, json value)
 Set the Json value of a prepared statement at given position. Convienence function to match other Prepared(type) functions. More...
 
object NWNX_SQL_ReadFullObjectInActiveRow (int column=0, object owner=OBJECT_INVALID, float x=0.0, float y=0.0, float z=0.0, int base64=TRUE)
 Like NWNX_SQL_ReadDataInActiveRow, but for full serialized objects. More...
 
int NWNX_SQL_GetAffectedRows ()
 Gets the rows affected by a query. More...
 
string NWNX_SQL_GetDatabaseType ()
 
void NWNX_SQL_DestroyPreparedQuery ()
 Free any resources attached to an existing prepared query. More...
 
string NWNX_SQL_GetLastError ()
 
int NWNX_SQL_GetPreparedQueryParamCount ()
 Gets the number of parameteres expected by a prepared query. More...
 
void NWNX_SQL_PostgreSQL_SetNextQueryResultsBinaryMode ()
 Set the next query to return full binary results ON THE FIRST COLUMN ONLY. More...