data.runSelectQuery
Load data from a CSV file to a Lua 2D array
filename string
includeFieldNames boolean
cells 2D array (in format cells[yRow][xCol])
local grid = data.runSelectQuery("SELECT * FROM [ItemLocations]", true)
data.printGrid(grid)
local grid = data.runSelectQuery("EXEC sp_drops_selectDropRecord @dropId=1", true)
data.printGrid(grid)
Generated on the 26 June 2024 at 22:01:27 (UK Time)