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!
- Method:db-query:free(...)
Syntax
bool dbFree ( db-query queryHandle )Required Arguments
- queryHandle: A query handle previously returned from dbQuery.
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)