Asf_Db_Adapter_Sqlite


Introduction

Asf_Db_Adapter_Sqlite Connecting to SQLite databases

在开启命名空间情况下(asf.use_namespace=1)类名为 Asf\Db\Adapter\Sqlite

Class synopsis

<?php
final class Asf_Db_Adapter_Sqlite extends Asf_Db_AbstractAdapter
{
    protected $_type = 'sqlite';
}

Examples

Example #1

<?php
$configs = array(
    'dsn' => '/tmp/sqlite.db',
);

$sqlite = new Asf_Db_Adapter_Sqlite($configs);
print_r($sqlite);