• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Learning SQLite by watching Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >re: Learning SQLite by watching Core Data? (From: Ben Trumbull <email@hidden>)
 >Re: Learning SQLite by watching Core Data? (From: David Carlisle <email@hidden>)
 >Re: Learning SQLite by watching Core Data? (From: Jens Alfke <email@hidden>)
 >Re: Learning SQLite by watching Core Data? (From: David Carlisle <email@hidden>)

  • Prev by Date: Cocoa Text System: How to determine the caret position?
  • Next by Date: NIB Help
  • Previous by thread: Re: Learning SQLite by watching Core Data?
  • Next by thread: Re: Learning SQLite by watching Core Data?
  • Index(es):
    • Date
    • Thread