Hi All,

I'm currently working on a wrapper that I will use in some of my C++ project.

I'm using sqlite3_prepare to query the database and sqlite3_step to navigate from row to row. I can get the number of column returned by the query with sqlite3_column_count. But I can't find a way to get the number of row returned.

Well no that's not true, I found a "sloppy way" of getting the number of row, that is executing the same query 2 times, once with sqlite3_exec and a callback that does oRs->intRecordCount++ and then with sqlite3_prepare to get the vm

Is that the only way to get the record count ?
--
WysG
"Codito Ergo Sum" - 'I code, therefore I am' - 'Je code, donc je suis'
GPG Public Key : http://wysg.hextudio.com/WysG.gpg



Reply via email to