Modules/MySQL/MysqlDestroy: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Modules/MySQL/MysqlClose moved to Modules/MySQL/MysqlDestroy)
No edit summary
Line 2: Line 2:
{{ModuleFunction|MySQL}}
{{ModuleFunction|MySQL}}


This functions closes the MySQL connection that is currently opened, if it exists.
This functions destroys a mysql object (gracefully), and cleans up any data it used.


==Syntax==
==Syntax==
Line 8: Line 8:


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


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


''None''
''None''

Revision as of 22:01, 29 January 2007


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 db )

Required Arguments

Optional Arguments

None