SQLiteQueryResult๏ƒ

Inherits: RefCounted < Object

A result from a SQLiteQuery run.

Description๏ƒ

A result from a SQLiteQuery run.

Properties๏ƒ

Variant

arguments

[]

String

error

""

int

error_code

0

String

query

""

Array[Dictionary]

result

[]


Property Descriptions๏ƒ

Variant arguments = [] ๐Ÿ”—

The arguments used when executing the query.

These correspond to the bound parameters passed into the SQLiteQuery when it was run.


String error = "" ๐Ÿ”—

Contains the error message if the query execution failed.

If no error occurred, this will be an empty string.


int error_code = 0 ๐Ÿ”—

  • int get_error_code()

The SQLite error code returned by the last executed query.

A value of 0 typically indicates success.


String query = "" ๐Ÿ”—

The original SQL query string that was executed to produce this result.


Array[Dictionary] result = [] ๐Ÿ”—

The rows returned by the query, stored as an array of dictionaries where each dictionary represents a row mapping column names to values.