Skip to content

Better database option interface #8

Description

@brody2consult

Currently there is a function call sqlitePlugin.openDatabase() that is emulating the HTML5 window.openDatabase() the best it can. Unfortunately this entails a some hack like ignoring some of the HTML5 SQL options. There is interest in adding some more options such as changing the database path and now encryption.

My idea is to adapt sqlitePlugin.openDatabase() to accept the list of options in a single Javascript object, something like: sqlitePlugin.openDatabase({database: "mydb", encrypt: true, cryptkey: x, success: mycb}) but still work with the old API to provide backwards compatibility.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions