int db::Query::exec_direct ( Database db,
const char *  text 
)

Parses and Executes SQL commands.

Parameters:
db Database handle.
text SQL query or command.
Returns:
Note:
When no longer needed, the query object must be closed with close.
On failure, one of the following error codes is set:

See also:
close


Copyright © 2005-2008 ITTIA®. All rights reserved.