Skip to content

Commit

Permalink
Lots of questions about the temp database creation- so I'm pointing t…
Browse files Browse the repository at this point in the history
…o the sqlite docs in the readme for this.
  • Loading branch information
ccgus committed Feb 15, 2012
1 parent b2047f9 commit 8831f61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ An `FMDatabase` is created with a path to a SQLite database file. This path can
2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed.
3. `NULL`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed.

(For more information on temporary and in-memory databases, read the sqlite documentation on the subject: http://www.sqlite.org/inmemorydb.html)

FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];

### Opening
Expand Down

0 comments on commit 8831f61

Please sign in to comment.