# 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`.

# Keyboard shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

# Search tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct` (or `str`), `enum`, `trait`, `typedef` (or `tdef`).

Generated on
© 2010 - 2024 Eluna Lua Engine