On Fri, Sep 21, 2012 at 9:56 AM, Marco Bambini <ma...@sqlabs.net> wrote:
> Hello, > is there a way to extract column names involved in a WHERE clause of a > query without manually parse the select statement? > > For example from a query like: > SELECT * FROM myTable WHERE col1=… AND col2=…; > I would need to extract both col1 and col2. > > There are no APIs in SQLite to do that. No. I think you have to parse the SQL yourself. > Thanks. > -- > Marco Bambini > http://www.sqlabs.com > > > > > > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users