Prepare parametrized SQL/DQL statements
public: void PrepareText(
CConnection * conn,
const char * cmd
);public void PrepareText(
CConnection * conn,
const char * cmd
);Public Function PrepareText(
conn As CConnection *,
cmd As const char *
) As void|
Parameters |
Description |
|
conn |
Valid connection instance. The connection to server or embedded DB must be already established |
|
cmd |
SQL or DQL statement. For example: "select * from where id = @myid" is prepared SQL with a single input parameter "myid" |
If method fails, the node_exception exception, containing the error message, will be thrown