Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

connection.close() is not working #9

Open
rammere opened this issue Jun 22, 2017 · 2 comments
Open

connection.close() is not working #9

rammere opened this issue Jun 22, 2017 · 2 comments

Comments

@rammere
Copy link

rammere commented Jun 22, 2017

Hi,
I tried to use connection.close but it is not working , any suggestion ?
Regards,

@jeansantana
Copy link

jeansantana commented Jul 18, 2017

For me too, any success? Even if we do:
createConnection(options).then(connection => connection.close());

It not work.

The error is:

this.databaseConnection.connection.close is not a function
    at Promise (WebSqlDriver.js:61)
    at new t (polyfills.js:3)
    at WebSqlDriver.disconnect (WebSqlDriver.js:57)
    at Connection.<anonymous> (Connection.js:131)
    at Generator.next (<anonymous>)
    at Connection.js:6
    at new t (polyfills.js:3)
    at __awaiter (Connection.js:2)
    at Connection.close (Connection.js:128)
    at DatabaseServiceProvider.<anonymous> (database-service.ts:140)

@connor-odoherty
Copy link

connor-odoherty commented Aug 25, 2017

Bump, also not working for me using 'ionic-sqlite'

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

No branches or pull requests

3 participants