User 780611
User 780611

Reputation: 175

create multiple data store in indexeddb

I want to create multiple data store in one database in indexeddb.

I have created my database - College

Created a data store - Student

In the "College" database I want to create one more data store dynamically with the name "Department".

Is it possible? Please help me out.

Thanks in advance.

Upvotes: 0

Views: 2096

Answers (1)

buley
buley

Reputation: 29208

In IndexedDB, a database can contain as many object stores as you'd like. So having "Department" and "Student" stores inside of a "College" database is no problem at all.

Upvotes: 2

Related Questions