open_sqlite


Description:

public static Connection open_sqlite (string? directory, string filename, bool auto_unlink)

Opens an SQLite connection even if the SQLite provider is not installed, to be used by database providers which need a temporary database to store some information.

Parameters:

directory

the directory the database file will be in, or null for the default TMP directory

filename

the database file name

auto_unlink

if true, then the database file will be removed afterwards

Returns:

a new Connection, or null if an error occurred