Given a database created with the following SQL commands:
CREATE TABLE data("hello[1]", "hello[^]", "goodbye");
INSERT INTO data VALUES ("first", "london", "berlin");
INSERT INTO data VALUES ("second", null, null);
Querying the database directly with the scraperwiki-python library:
import scraperwiki
print scraperwiki.sql.select('* from data')
Discovered by @IanHopkinson over here: https://github.com/scraperwiki/datatables-view-tool/issues/48
Given a database created with the following SQL commands:
Querying the database directly with the
scraperwiki-python
library:Returns the incorrect column names: