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

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -

R summary function in ddply (plyr) in a simple way -

c# - Are delegates created via lambda expressions guaranteed to be cached? -