Im trying to make a temporary db with PDO and sqlite as driver since official documentation shows:
rc = sqlite3_open("file::memory:?cache=shared", &db)
how i can implement this in php PDO?
I have this starting code:
$db = new PDO( 'sqlite::memory:',
null,
null,
array( PDO::ATTR_PERSISTENT => true )
);
how i can implement the shared memory?
adding ?cache=shared
after sqlite::memory:
fails.
Thanks in advance