On 15 Mar 2015, at 6:06am, Felipe Gasper <felipe at felipegasper.com> wrote:

> is this how I can say, ?open a database, but only if it?s a new database??

There is no mode in SQLite which does that.  You can tell it to do the opposite 
(only open an existing file, return an error if no file exists) but not the way 
you asked about.

You will have to use file operations to find out whether the file already 
exists.

Simon.

Reply via email to