Medoo

开始

更新日志

Where 语句

查询

聚合

Fetch

事务

原生SQL查询

Raw object

PDO object

Debug

数据库信息

info

获得数据库的信息.

info()
Return: [string]
返回数据库相关信息
print_r($database->info());

/*
Array
(
    [server] => Uptime: 5074  Threads: 1  Questions: 15  Slow queries: 0  Opens: 67  Flush tables: 1
        Open tables: 60  Queries per second avg: 0.002
    [client] => mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
    [driver] => mysql
    [version] => 5.6.10
    [connection] => localhost via TCP/IP
)
*/