mercredi 1 juillet 2015

How to make an pdo_sqlite connection from binary stream in PHP

Having a .sqlite file in a memory stream (php://memory), I want to pipe it to pdo_sqlite driver to create a connection. Is this possible?

Its for testing purposes, I want to recreate DBs quickly without recreate schema at each time nor using tmpfs.

Aucun commentaire:

Enregistrer un commentaire