Hi,I am in the process of creating a virtual table and I need to get the list 
of columns that will be retrieved from that VT in a given SELECT statement. I 
need to do this *before* the xColumn methods are invoked by SQLite, preferably 
on the call to xBestIndex.

I am able to get the plain names of the columns via the pVdbe->aColName array, 
but this returns the names of *all* the columns in a given query, and these 
column names may have aliases, so there's no way to link this column name to a 
column in the virtual table itself.

What would be the best way to accomplish this?

Thanks and best regards,
-- Marcelo Mottalli
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to