sqlite_write_to_file
Writes a memory database to a file.
Syntax
$sqlite_write_to_file ( conn, file )
/sqlite_write_to_file conn file
/sqlite_write_to_file conn file
Parameters
conn
The connection identifier of a memory database.
file
The filename to save the memory database to.
Return Value
1 on success, or $null if there was an error.
Remarks
This function allows you to write a memory database to a file. It's useful if you want to work with a database on memory for vastly improved speed, but also keep a permanent copy on disk. Another common use is to debug errors by dumping a memory database to file so you can examine the contents with your favorite visual editor.