<?php

if(!file_exists('sqliteTest.sqlite')) {
	$make = true;
}
include_once 'xenolib/db/PDOSQLite.inc.php';
$db = new SHJPDOSQLite('sqliteTest.sqlite');
if(isset($make)) {
	$db->exec('CREATE TABLE test (a INTEGER AUTO_INCREMENT, b, PRIMARY KEY (a))');
}
$ins = $db->makeQuery('insert');
$ins->table = 'test';
$ins->fields->b = fopen('xenolib/db/PDOExt.inc.php', 'r');
$ins->insert()->exec();

print_r($db->query('SELECT * FROM test')->fetch_all());

?>
Ok
