2022-08-21 00:40:49 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2024-04-26 17:32:25 +02:00
|
|
|
<class name="QueryResult" inherits="Reference" version="4.4">
|
2022-08-21 00:40:49 +02:00
|
|
|
<brief_description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Read the result from a query that were run on a [Database].
|
2022-08-21 00:40:49 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Read the result from a query that were run on a [Database].
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_cell">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Gets a [String] value from the index-th cell.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cell_bool">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Gets a bool value from the index-th cell.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cell_double">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Gets a double value from the index-th cell.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cell_float">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Gets a float value from the index-th cell.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cell_int">
|
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Gets a int value from the index-th cell.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_error_message">
|
|
|
|
<return type="String" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Returns the current error message (if any).
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_last_insert_rowid">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Returns the last inserted row's id. On some database backends this needs to be requested in the query to be available.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_cell_null">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Is the given cell null.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="next_row">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
2024-04-27 23:03:18 +02:00
|
|
|
Read the next row. Returns true if success, false if no more rows available.
|
2022-08-21 00:40:49 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|