|Apr 13, 2009, 09:30 AM||#1|
SQLite3 Database Not Refreshing
I have an sqlite3 database in my iPhone app. This is my first iPhone app and my first time using the iPhone SDK. I have edited the database outside of the program using the terminal sqlite3 commands. I can see the changes in the terminal, but my program isn't picking them up. It is still returning the old values. Is there something I need to do to flush the cache or something so it picks up the changes?
|Apr 14, 2009, 10:39 AM||#2|
|Apr 15, 2009, 02:30 PM||#4|
I figured it out. I had the database stored in my project folder and that's where I was updating it. The program, however, was looking for it in the documentsDirectory. It copied it there automatically at one point, but it wasn't refreshing it most likely because of my lack of experience! So... I updated it manually and all is well!
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|GW2 Database- iPhone and iPad database for Guild Wars 2||skoroapps||iPad Apps||19||Jul 20, 2013 05:59 AM|
|GW2 Database - iPhone and iPad database for Guild Wars 2||skoroapps||iPhone and iPod touch Apps||14||Jul 20, 2013 05:58 AM|
|SQLite3 and UITableView||jweinraub||iPhone/iPad Programming||4||Jul 13, 2013 10:35 AM|
|A program to open sqlite3 .db files?||whitedragon101||iPhone/iPad Programming||9||Mar 23, 2013 09:59 PM|
|Sqlite3 database Standards and properties : From .CSV or .XLS to .sqlite in Xcode 4.3||EliasRahme||iPhone/iPad Programming||0||Jul 21, 2012 01:53 AM|
All times are GMT -5. The time now is 03:05 AM.