Hi!
I am using the excellent make_virtual_module to make some Virtual Tables.
It seems to work very nicely for single tables but now I am trying to support JOIN of multiple tables.
apsw or sqlite is giving me very confusing errors:
sqlite> SELECT elf_headers.path, COUNT(*)
..> FROM elf_headers
..> INNER JOIN elf_sections ON elf_headers.path = elf_sections.path
..> GROUP BY elf_headers.path;
ERROR:root:SQLITE_LOG: statement aborts at 14: [SELECT elf_headers.path, COUNT(*)
FROM elf_headers
INNER JOIN elf_sections ON elf_headers.path = elf_sections.path
GROUP BY elf_headers.path;] (1) SQLITE_ERROR
'list' object has no attribute 'update'
I've tried a few different combinations of the SQL.
Interestingly, if I remove the GROUP BY (and COUNT) then I can get some results of the JOIN but I still see the ERROR at the end.
Thank you to all who may respond.