database - Executing queries from sqlite file in iOS -


is possible read .sqlite script row insertions , updates in ios? or if want read sql statements file, can read file line line if regular text file? need make large amount of row insertions in existing sqlite table have, , have insert statements in .sql file. i've looking way this, not able find ios.

thanks!

your .sqlite script text file can load it. can read in line line can read whole script (depending on size) nsstring (stringwithcontentsoffile:encoding:error:) , use contents want.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -