|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_SQL =
"NWNX_SQL";
119 string sFunc =
"PrepareQuery";
128 string sFunc =
"ExecutePreparedQuery";
149 string sFunc =
"ReadyToReadNextRow";
157 string sFunc =
"ReadNextRow";
164 string sFunc =
"ReadDataInActiveRow";
174 string sFunc =
"PreparedInt";
182 string sFunc =
"PreparedString";
190 string sFunc =
"PreparedFloat";
198 string sFunc =
"PreparedObjectId";
206 string sFunc =
"PreparedObjectFull";
215 string sFunc =
"PreparedNULL";
230 string sFunc =
"ReadFullObjectInActiveRow";
244 string sFunc =
"GetAffectedRows";
252 string sFunc =
"GetDatabaseType";
260 string sFunc =
"DestroyPreparedQuery";
267 string sFunc =
"GetLastError";
275 string sFunc =
"GetPreparedQueryParamCount";
283 string sFunc =
"PostgreSQL_SetNextQueryResultsBinaryMode";
void NWNX_SQL_PreparedJson(int position, json value)
Set the Json value of a prepared statement at given position. Convienence function to match other Pre...
int NWNX_SQL_ExecutePreparedQuery()
Executes a query which has been prepared.
void NWNX_SQL_PreparedInt(int position, int value)
Set the int value of a prepared statement at given position.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
int NWNX_SQL_GetAffectedRows()
Gets the rows affected by a query.
void NWNX_SQL_PreparedNULL(int position)
Set the NULL value of a prepared statement at given position.
void NWNX_SQL_PreparedObjectFull(int position, object value, int base64=TRUE)
Set the full serialized object value of a prepared statement at given position.
void NWNX_SQL_PostgreSQL_SetNextQueryResultsBinaryMode()
Set the next query to return full binary results ON THE FIRST COLUMN ONLY.
void NWNX_SQL_PreparedFloat(int position, float value)
Set the float value of a prepared statement at given position.
void NWNX_SQL_ReadNextRow()
Reads the next row of returned data.
int NWNX_SQL_PrepareQuery(string query)
Prepares the provided query for execution.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_SQL_PreparedObjectId(int position, object value)
Set the ObjectId value of a prepared statement at given position.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
int NWNX_SQL_ExecuteQuery(string query)
Directly execute an SQL query.
string NWNX_SQL_ReadDataInActiveRow(int column=0)
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
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.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
int NWNX_SQL_ReadyToReadNextRow()
string NWNX_SQL_GetDatabaseType()
object NWNX_GetReturnValueObject()
Returns the specified type from the c++ side.
int NWNX_SQL_GetPreparedQueryParamCount()
Gets the number of parameteres expected by a prepared query.
void NWNX_SQL_PreparedString(int position, string value)
Set the string value of a prepared statement at given position.
void NWNX_SQL_DestroyPreparedQuery()
Free any resources attached to an existing prepared query.
string NWNX_SQL_GetLastError()
void NWNX_PushArgumentFloat(float value)
Pushes the specified type to the c++ side.