0
我该如何执行EXPLAIN QUERY PLAN
命令才能得到结果并在屏幕上用php
显示它们? 我使用简单的Sqlite3
php类http://nl1.php.net/manual/en/class.sqlite3.php,但query()
返回SQLite3Result
对象,而不是原始转储。sqlite得到EXPLAIN QUERY PLAN结果用php
$result = $db->query("EXPLAIN QUERY PLAN SELECT * from events WHERE type='comment' AND TIMESTAMP > $time AND PAGE = '$page' LIMIT 1");
echo $result;