Get the Database Size
To query the amount of disk space consumed by the database, call the database size method.
In hybrid apps, call:
The success callback supports a single parameter that contains the database size in bytes. For example:
Objective-C:
In Swift, use the Objective-C method.