protected function createPDOSQLite($location, $errorMode)
    {
        $dsn = 'sqlite:' . $location;

        $db  = new \Parable\ORM\Database\PDOSQLite($dsn);
        $db->setAttribute(\PDO::ATTR_ERRMODE, $errorMode);

        return $db;
    }
protected function createPDOSQLite($location, $errorMode)
    {
        $dsn = 'sqlite:' . $location;

        $db  = new \Parable\ORM\Database\PDOSQLite($dsn);
        $db->setAttribute(\PDO::ATTR_ERRMODE, $errorMode);

        return $db;
    }
protected function createPDOSQLite ( $ location , $ errorMode ) { $ dsn = 'sqlite:' . $ location ; $ db = new \ Parable \ ORM \ Database \ PDOSQLite ( $ dsn ) ; $ db -> setAttribute ( \ PDO :: ATTR_ERRMODE , $ errorMode ) ; return $ db ; }
Create and return a sqlite PDO instance.

@param string $location
@param int    $errorMode

@return \Parable\ORM\Database\PDOSQLite
Create and return a sqlite PDO instance .