Files
oxmysql/scalar.md
T
2021-08-18 14:13:22 +10:00

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)