[Solar-svn] Revision 2719

pmjones at solarphp.com pmjones at solarphp.com
Thu Aug 16 16:38:43 CDT 2007


Branch: Solar_Sql_Adapter_Mssql: [BRK] Method lastInsertId() now takes $table and $col, vice only $name, as params.  This is in line with the updated Adapter parent.


Modified: branches/orm/Solar/Sql/Adapter/Mssql.php
===================================================================
--- branches/orm/Solar/Sql/Adapter/Mssql.php	2007-08-16 21:37:32 UTC (rev 2718)
+++ branches/orm/Solar/Sql/Adapter/Mssql.php	2007-08-16 21:38:43 UTC (rev 2719)
@@ -304,7 +304,7 @@
      * @return int The last auto-increment ID value inserted to the database.
      * 
      */
-    public function lastInsertId($name = null)
+    public function lastInsertId($table = null, $col = null)
     {
         $this->_connect();
         return $this->fetchValue('SELECT @@IDENTITY AS id');




More information about the Solar-svn mailing list