Jon Drnek <jon.drnek-Qs4XrXhvvFZZ86bJE/MT6bVn/[EMAIL PROTECTED]>
wrote:
I have a prepared statement  that looks like

char *getSql = "select * from transducer where id = ?";
rc = sqlite3_prepare_v2(transducerDb,getSql,-1,&preparedGet,NULL);

Is there a way that I can find out the number of a given column name
in the query?

You can enumerate all columns and generate a map of column name to index. See sqlite3_column_count, sqlite3_column_name[16]

Igor Tandetnik

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to