# Class ElunaQuery [-] [+]

The result of a database query.

E.g. the return value of Global:WorldDBQuery.

Inherits all methods from: none

## Methods

GetBool | Returns the data in the specified column of the current row, casted to a boolean.
GetColumnCount | Returns the number of columns in the result set.
GetDouble | Returns the data in the specified column of the current row, casted to a 64-bit floating point value.
GetFloat | Returns the data in the specified column of the current row, casted to a 32-bit floating point value.
GetInt16 | Returns the data in the specified column of the current row, casted to a signed 16-bit integer.
GetInt32 | Returns the data in the specified column of the current row, casted to a signed 32-bit integer.
GetInt64 | Returns the data in the specified column of the current row, casted to a signed 64-bit integer.
GetInt8 | Returns the data in the specified column of the current row, casted to a signed 8-bit integer.
GetRow | Returns a table from the current row where keys are field names and values are the row's values.
GetRowCount | Returns the number of rows in the result set.
GetString | Returns the data in the specified column of the current row, casted to a string.
GetUInt16 | Returns the data in the specified column of the current row, casted to an unsigned 16-bit integer.
GetUInt32 | Returns the data in the specified column of the current row, casted to an unsigned 32-bit integer.
GetUInt64 | Returns the data in the specified column of the current row, casted to an unsigned 64-bit integer.
GetUInt8 | Returns the data in the specified column of the current row, casted to an unsigned 8-bit integer.
IsNull | Returns `true` if the specified column of the current row is `NULL`, otherwise `false`.
NextRow | Advances the ElunaQuery to the next row in the result set.

# 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