dbFree | Multi Theft Auto: Wiki Skip to content

dbFree

Client-side
Server-side
Shared

This function frees a database query handle. dbFree only needs to be used if a result has not been obtained with dbPoll.

OOP Syntax Help! I don't understand this!

Syntax

bool dbFree ( db-query queryHandle )
Required Arguments

Returns

  • bool: result

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

Code Examples

server

Required because dbPoll was not called.

local qh = dbQuery(connection, "SELECT * FROM table_name")
dbFree(qh)