in php I declared database object:
$pdo = new PDO('sqlite:mybase.DB3');

i know how to get information about engine used in this connection, which
is:
$pdo->getAttribute(PDO::ATTR_DRIVER_NAME);   ---> string 'sqlite'

But I do not know how to get back the actual database file name back from
this object. Is it possible to be done from query to the database itself
(maybe some kind of PRAGMA) or from query to the object.
-- 
View this message in context: 
http://old.nabble.com/is-it-possible-to-query-for-database-file-name---tp28458950p28458950.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to