Iterator interface is the lowest common denominator.
authorJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:24:43 +0000 (19:24 +0100)
committerJan Schneider <jan@horde.org>
Wed, 12 Jan 2011 18:24:43 +0000 (19:24 +0100)
framework/Db/lib/Horde/Db/Adapter.php

index 0e3e35f..5d4283e 100644 (file)
@@ -121,7 +121,7 @@ interface Horde_Db_Adapter
      * @param string $arg2   If $arg1 contains bound parameters, the query
      *                       name.
      *
-     * @return PDOStatement
+     * @return Iterator
      * @throws Horde_Db_Exception
      */
     public function select($sql, $arg1 = null, $arg2 = null);
@@ -211,7 +211,7 @@ interface Horde_Db_Adapter
      * @param string $arg2  If $arg1 contains bound parameters, the query
      *                      name.
      *
-     * @return PDOStatement
+     * @return Iterator
      * @throws Horde_Db_Exception
      */
     public function execute($sql, $arg1 = null, $arg2 = null);