mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 22:22:50 +00:00
295 B
295 B
Scalar
Execute a query and return the result of the first row and column.
Usage
exports.oxmysql:scalar(query, {}, function(result)
print(result)
end)
print('I will be printed before query result')
local result = exports.oxmysql:scalarSync(query, {})
print(result)