Method ElunaQuery:GetRow [-] [+]

Returns a table from the current row where keys are field names and values are the row's values.

All numerical values will be numbers and everything else is returned as a string.

For example, the query:

SELECT entry, name FROM creature_template

would result in a table like:

{ entry = 123, name = "some creature name" }

To move to next row use ElunaQuery:NextRow.

Synopsis

rowData = ElunaQuery:GetRow()

Arguments

None.

Returns

table rowData

Table filled with row columns and data where T[column] = data.

Generated on 11/04/2018
©2016 - Eluna Lua Engine