IndexedDB is not a relational database. What you are looking for is probably WebSQL, however WebSQL is no longer a W3C recommendation.
If you want to store large amounts of data offline, your best option is IndexedDB. You just have to stop thinking in terms of tables and start thinking in terms of objects.
MDN has great articles on IndexedDB: