Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ionic-native/sqlite forced into AMBIGUOUS call #1280

Closed
gabrielmuresan opened this issue Mar 28, 2017 · 1 comment
Closed

@ionic-native/sqlite forced into AMBIGUOUS call #1280

gabrielmuresan opened this issue Mar 28, 2017 · 1 comment

Comments

@gabrielmuresan
Copy link

The typescript definition for sqlite requires the user to use SQLiteDatabaseConfig when opening a new database, but the cordova plugin decides that this is AMBIGUOUS call because location AND iosDatabaseLocation properties must be specified.

export interface SQLiteDatabaseConfig {
    /**
     * Name of the database. Example: 'my.db'
     */
    name: string;
    /**
     * Location of the database. Example: 'default'
     */
    location: string;
    /**
     * iOS Database Location. Example: 'Library'
     */
    iosDatabaseLocation: string;
}

the plugin only understands only when one or the other are present

@ihadeed
Copy link
Collaborator

ihadeed commented Mar 28, 2017

Thanks, I'll fix this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants