Function
Fast
Database:ExecuteAsync
Execute a query asynchronously
Syntax
my_database:ExecuteAsync(query, callback = nil, parameters... = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
query
|
string | — | Query to execute |
callback
optional
|
function | nil |
Callback
Callback signature
function(rows_affected, error)
|
parameters...
optional
|
any | nil |
Sequence of parameters to escape into the Query |