Scripting/Squirrel/Functions/SQLite/GetSQLColumnData
From VC-MP Wiki
This function returns column data from the given query result.
Syntax
int GetSQLColumnData( sqliteQuery query, int column ) float GetSQLColumnData( sqliteQuery query, int column ) string GetSQLColumnData( sqliteQuery query, int column )
Arguments
- query - The query result (row) from QuerySQL or from a previously executed GetSQLNextRow
- column - The index of the wanted column
Example
For usage example, check the general SQLite database example from the wiki tutorials.
Related Functions
- ConnectSQL
- DisconnectSQL
- QuerySQL
- GetSQLNextRow
- GetSQLColumnCount
- GetSQLColumnData
- FreeSQLQuery
