DbFree

From Multi Theft Auto: Wiki
Revision as of 17:34, 26 October 2011 by Ccw (talk | contribs) (Created page with "__NOTOC__ {{Server function}} {{New feature|3.0120|1.2| '''Available only in MTA SA 1.1.1 r3328 and onwards''' }} This function frees a database query handle. ==Syntax== <syntaxhighlight lang="lua"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Available only in MTA SA 1.1.1 r3328 and onwards This function frees a database query handle.

Syntax

bool dbFree ( handle queryHandle )

Required Arguments

  • queryHandle: A query handle previously returned from dbQuery

Returns

Returns true if the handle was successfully freed, false otherwise.

Example

This example frees a database query handle

dbFree ( qh )

Requirements

Minimum server version 1.1.1-9.03328
Minimum client version n/a

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.1.1-9.03328" />

See Also