data.databaseTableExists
Description
Determine if a database table exists.

Parameters
tableName string

Return value
exists boolean

Example
local tableName = "myTable"
if data.databaseTableExists(tableName) then
    print(tableName .. " table exists")
else
    print(tableName .. " table does not exist")
end

Comments

See also
data.runSelectQuery
data.databaseTableExists

Back
Generated on the 26 June 2024 at 22:01:27 (UK Time)