Relative Content

Tag Archive for iossqlitefmdb

How to delete all rows from all tables in DB file using FMDB

I’m trying to create a common method to delete all rows from all DB files in my project.
I don’t want to store and pass all tables names, so it should work only with a DB file path.
I tried to get all tables from the DB file via this code: