sqlite_open_memory

mIRC SQLite

sqlite_open_memory
Opens a SQLite memory database.
Syntax
$sqlite_open_memory ( [ from ] )
Parameters
from
The filename of the database to create memory database from. Optional, see remarks for details.
Return Value
A positive, numeric connection identifier if successful, or $null if there was an error.
Remarks
This function is identical to using $sqlite_open with the first argument db set to special keyword :memory:. See its reference for details.
Example
; Opens a database and displays the status after. Closes the db if it was opened successfully.
var %db = $sqlite_open_memory()
if (%db) {
  echo -a Memory database created and opened successfully.
  sqlite_close %db
}
else {
  echo -a Error opening a memory database: %sqlite_errstr
}