Scripting/Squirrel/Functions/FreeSQLQuery: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "Frees the last query result. This function should be called after every query, specially when these queries return any data. == Syntax == <pre>FreeSQLQuery( SQLiteQuery query...") |
m (Do not sign your edits) |
||
Line 15: | Line 15: | ||
FreeSQLQuery( c ); | FreeSQLQuery( c ); | ||
</pre> | </pre> | ||
Revision as of 03:31, 10 March 2016
Frees the last query result. This function should be called after every query, specially when these queries return any data.
Syntax
FreeSQLQuery( SQLiteQuery query )
Arguments
- SQLiteQuery query - A valid MySQL result
Return value
This function doesn't return any value.( null )
Example
local c = QuerySQL(handler,"SELECT * FROM Accounts"); //Do stuff here FreeSQLQuery( c );