Marco Bambini <[EMAIL PROTECTED]> wrote: > I need a way to automatically have the rowid for all queries issued > by our users (without modifying the original sql queries). > A lot of time for some queries (COUNT(*) for example), it is simply > not possible to obtain a valid rowid, so it could just be set to -1. > > Is this a planned feature? If no and if I would like to try to add it > myself, do you an advice for me about what is the best way to proceed? > A possible API could be: > long long int sqlite3_rowid(sqlite3_stmt*);
This is not a planned feature. Adding this would slow down the code for vast majority of people who do not need it. Note also that the interface you propose is inadequate because in a join, different elements of the result set come from different tables and thus have different rowids. -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

