rm tmp
authorMichael Wallner <mike@php.net>
Sat, 9 Mar 2013 14:35:36 +0000 (15:35 +0100)
committerMichael Wallner <mike@php.net>
Sat, 9 Mar 2013 14:35:36 +0000 (15:35 +0100)
lib/tmp.php [deleted file]

diff --git a/lib/tmp.php b/lib/tmp.php
deleted file mode 100644 (file)
index e262481..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-require "./pq/Query/Expr.php";
-require "./pq/Query/Writer.php";
-require "./pq/Gateway/Table.php";
-require "./pq/Gateway/Rowset.php";
-require "./pq/Gateway/Row.php";
-require "./pq/Gateway/Cell.php";
-
-class FooModel extends \pq\Gateway\Table {
-       function __construct(\pq\Connection $c) {
-               parent::__construct($c, "foo", "FooCollection");
-       }
-}
-
-class Foo extends \pq\Gateway\Row {
-       
-}
-
-class FooCollection extends \pq\Gateway\Rowset {
-       function __construct(\pq\Gateway\Table $table, \pq\Result $result) {
-               parent::__construct($table, $result, "Foo");
-       }
-}
-
-$conn = new \pq\Connection;
-$types = new \pq\Types($conn);
-$table = new FooModel($conn);
-$rowset = $table->find(array(array("id>" => 1), array("id IS" => new pq\Query\Expr("NULL"))));
-$current = $rowset->current();
-$current->dt->mod(new pq\Query\Expr("- interval '3 day'"));
-$current->update();
-var_dump($current);
-echo PHP_EOL;
\ No newline at end of file