Since the initial filling of tables into indexedDb via ydn-db's db.put
takes quite long depending on data amount i want to present the user with a progress bar.
Is it possible to know the progess of a db.put
operation?
Since the initial filling of tables into indexedDb via ydn-db's db.put
takes quite long depending on data amount i want to present the user with a progress bar.
Is it possible to know the progess of a db.put
operation?
It is not and not likely to implement that feature. If number of records is too large, it is recommended to use smaller by batch size.
See this sample code for populating large CSV file to ydn-db.
You can see example implementation of progress bar in full text search app during loading data. This loading happen only for the first time of visiting the page.