Skip to content

alasql.js:19270 Uncaught TypeError: SQL.Database is not a constructor #1284

Description

@carper7

I get this error when trying to attach a database from the disk. This is the code:

alasql(['ATTACH SQLITE DATABASE inscriptions("mydb.sqlite3");\
            Use inscriptions; \
            select * from signatures']).then(function(res) {
                console.log("Signatures: ", res.pop());
});	

I am using only javascript and html.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions