mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
305 B
305 B
Single
Execute a query and return the results of the first row.
Usage
exports.oxmysql:single(query, {}, function(result)
print(result['column'])
end)
print('I will be printed before query result')
local result = exports.oxmysql:singleSync(query, {})
print(result['column'])