Skip to content

Database is exported and reimported on each query execution to support SQLITE Temp Tables functionality #87

@twoxfh

Description

@twoxfh

As a user of SQLiteViz I have noticed the default main database filename changes constantly. If you run the following command on SqliteViz you will notice the database filename always changes with each query execution, however, this does not happen with the default Sql-js example. Is this a Bug or a Feature?

select * from pragma_database_list

It appears open gets called from reopen through the worker on execution of each query. If you check for this.db === null on open, a new file is not generated, however, then createDb is not always called and custom javascript db functions are not added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions