📜  php pdo 获取数据库名称 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:21.039000             🧑  作者: Mango

代码示例1
$pdo->query('select database()')->fetchColumn();