I want to get the raw count of a table.
I use this to get raw count.
But it's not working.
I use this to get raw count.
Code:
local query = db.storeQuery('SELECT COUNT(id) FROM ld_sql.players;')
local num = result.getDataInt('COUNT(id)', query)
return num
But it's not working.