Scripting/Squirrel/Functions/FreeSQLQuery: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
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...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:


== Return value ==
== Return value ==
This function doesn't return any value.( null )
This function doesn't return any value.( void / null )


== Example ==
== Example ==
Line 16: Line 16:
</pre>
</pre>


By KAKAN
== Related Functions ==
 
{{Scripting/Squirrel/Functions/SQLite Functions}}
[[Category:Scripting/Squirrel/Functions/SQLite _Functions]]

Latest revision as of 07:37, 20 July 2019

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.( void / null )

Example

local c = QuerySQL(handler,"SELECT * FROM Accounts");
//Do stuff here
FreeSQLQuery( c );

Related Functions