Re: Sqlite3
Re: Sqlite3
- Subject: Re: Sqlite3
- From: "Hank Heijink (Mailinglists)" <email@hidden>
- Date: Thu, 9 Apr 2009 20:24:53 -0400
On Apr 8, 2009, at 8:24 AM, fawad shafi wrote:
i m working on sqlite3 database, problem is this that, when i insert
data in database from simulator, n after this when i go to sqlite3
terminal. the data is not available there.
more strange is that after inserting data from simulator, when i try
to access the records, i can access. But after restarting the
simulator it fetches no record
I believe that every time you restart the simulator, the path to your
Documents folder changes (note the hexadecimal part of the path to
Documents). Are you sure you're looking at the current database file
and not the previous one? I'd log the path to the database when you
start your app and compare that to the path you think your database is
at.
Good luck,
Hank
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Sqlite3 (From: fawad shafi <email@hidden>) |