Re: Learning SQLite by watching Core Data?
Re: Learning SQLite by watching Core Data?
- Subject: Re: Learning SQLite by watching Core Data?
- From: Jens Alfke <email@hidden>
- Date: Mon, 23 Jun 2008 15:37:22 -0700
On 23 Jun '08, at 3:13 PM, David Carlisle wrote:
As far as the filename extension, if I don't use the .sqlite
extension, then sqlite3 creates an empty textfile with the same name
as the database:
That's what the sqlite3 tool does if you give it a filename that
doesn't yet exist. This implies that the existing CoreData database
file you're trying to inspect is named "SQLiteStudy1.sqlite".
So yes, to open an existing file you have to give sqlite3 the exact
filename including extension; all Unix tools work that way. But
sqlite3 doesn't care what that filename or extension is.
—Jens_______________________________________________
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