sqlite_step — Returns the next row of the results of a previous SQL statement.
sqlite_step( : : SqliteHandle : ResultColumns, IsEnd)
sqlite_open returns the next row of the results of an SQL statement that was previously executed using sqlite_exec.
SQLITE_INTEGER are returned as HALCON tuple integer. SQLITE_FLOAT are returned as HALCON tuple reals/doubles. SQLITE_TEXT are returned as HALCON tuple strings. SQLITE_NULL are returned as special HALCON tuple string "{{NULL}}". SQLITE_BLOB are returned as special HALCON tuple string "{{BLOB}}". Unknown data types are returned as special HALCON tuple string "{{???}}".
Find more information about the Sqlite extension package in the introduction to this chapter.
SqliteHandle (input_control) framegrabber → (handle)
handle to a SQLite data base
ResultColumns (output_control) integer(-array) → (integer / real / string)
all columns of a single result row
IsEnd (output_control) integer → (integer)
true if no more result rows are available
sqlite_exec (SqliteHandle, 'SELECT rowid, timestamp FROM \'results\';', []) repeat sqlite_step (SqliteHandle, ResultColumns, IsEnd) * ... until (IsEnd)
Foundation