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++ - protocol buffers - generate NON-inline accessors -

c# - issue attaching/adding an entity object which is detached from the DB Context? -