I got SQLITE working with J on Linux, but now I'm tryingon Mac (Yosemite,
J803).I have a preexisting database which I'm trying to access.
ch =: ddcon__db 'database=',(jpath '~/testdb') NB. no error so far, database
exists in home directory.
query =: 'SELECT * FROM names' NB. this table name exists, and contains data.
ddfet__db (query ddsel__db ch),1 NB. also tried with _1.
|domain error: cd| p=. sqlite3_column_database_name y
My first thought was that the table name "names" is incorrect. But it isn't.
And ifI exchange "names" with any old string then ddfet__db returns _1.
Any help appreciated.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm