pandemonium_engine/modules/database/doc_classes/QueryResult.xml

76 lines
2.1 KiB
XML
Raw Normal View History

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>
Read the result from a query that were run on a [Database].
2022-08-21 00:40:49 +02:00
</brief_description>
<description>
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>
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>
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>
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>
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>
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>
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>
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>
Is the given cell null.
2022-08-21 00:40:49 +02:00
</description>
</method>
<method name="next_row">
<return type="bool" />
<description>
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>