Re: [sqlite] Missing function sqlite3_column_index

2018-09-02 Thread Igor Tandetnik
On 9/2/2018 10:13 AM, Sebastian wrote: for sqlite3_bind_parameter_name there is an inverse function sqlite3_bind_parameter_index. But for sqlite3_column_name, I could not find such a function. Column names may not be unique, or meaningful. E.g. select a, a, 1+2 from mytable; -- Igor Tandetni

[sqlite] Missing function sqlite3_column_index

2018-09-02 Thread Sebastian
Hi, for sqlite3_bind_parameter_name there is an inverse function sqlite3_bind_parameter_index. But for sqlite3_column_name, I could not find such a function. Is it missing by intention, in order not to tempt users to call it once per row, which would be inefficient? (In that case, why not just m