Modules/MySQL/MysqlDestroy: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
==Description== | ==Description== | ||
This functions closes the MySQL connection that is currently opened, if | This functions closes the MySQL connection that is currently opened, if it exists. | ||
This function is provided by the | This function is provided by the [[Module functions|ml_mysql]] module. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">nil mysqlClose ( mysql db )</syntaxhighlight> | |||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''db''' : The [[mysql]] object created by [[mysqlOpen]] | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
''None'' | ''None'' | ||