Modules/MySQL/MysqlDestroy: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">nil mysqlClose ( mysql db )</syntaxhighlight>
<syntaxhighlight lang="lua">nil mysqlClose ( mysql mysqlobj )</syntaxhighlight>


===Required Arguments===
===Required Arguments===
*'''db''' : The [[mysql]] object created by [[Modules/MySQL/MysqlCreate|mysqlCreate]]
*'''mysqlobj''' : The [[mysql]] object created by [[Modules/MySQL/MysqlCreate|mysqlCreate]]


===Optional Arguments===
===Optional Arguments===


''None''
''None''

Latest revision as of 20:49, 29 September 2009


Package-x-generic.png This function is provided by the external module MySQL. You must install this module to use this function.


This functions destroys a mysql object (gracefully), and cleans up any data it used.

Syntax

nil mysqlClose ( mysql mysqlobj )

Required Arguments

Optional Arguments

None