flush
[m6w6/pq-gateway] / lib / pq / Query / WriterInterface.php
diff --git a/lib/pq/Query/WriterInterface.php b/lib/pq/Query/WriterInterface.php
new file mode 100644 (file)
index 0000000..32e133b
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+namespace pq\Query;
+
+interface WriterInterface
+{
+       function __toString();
+       function getParams();
+       function getTypes();
+       function write(/*...*/);
+       function param($param, $type = null);
+       function criteria(array $criteria);
+       function reset();
+       function exec(\pq\Connection $c);
+}