yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

Deleting database #7

Closed neerajjoshi closed 10 years ago

neerajjoshi commented 10 years ago

Hi,

I am using ydn library from the link below :- http://dev.yathit.com/ydn-db/getting-started.html

It has created a database in indexed db . Now I want to know how to remove that database as did not get any code to delete a database code is there only to create database and clear records of database.

yathit commented 10 years ago

See api doc here: http://dev.yathit.com/api-reference/ydn-db/ydn-db.html

ydn.db.deleteDatabase('db name')