[limb-svn] r6040 - 3.x/trunk/limb/active_record/src

svn at limb-project.com svn at limb-project.com
Mon Jul 2 16:51:56 MSD 2007


Author: pachanga
Date: 2007-07-02 16:51:54 +0400 (Mon, 02 Jul 2007)
New Revision: 6040
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6040

Modified:
   3.x/trunk/limb/active_record/src/lmbARManyToManyCollection.class.php
Log:
-- using lmbSelectRawQuery

Modified: 3.x/trunk/limb/active_record/src/lmbARManyToManyCollection.class.php
===================================================================
--- 3.x/trunk/limb/active_record/src/lmbARManyToManyCollection.class.php	2007-07-02 12:51:09 UTC (rev 6039)
+++ 3.x/trunk/limb/active_record/src/lmbARManyToManyCollection.class.php	2007-07-02 12:51:54 UTC (rev 6040)
@@ -30,7 +30,7 @@
             WHERE {$table}.id={$join_table}.$foreign_field AND
             {$join_table}.{$field}=" . $this->owner->getId() . ' %where%';
 
-    $query = new lmbSelectQuery($sql, $this->conn);
+    $query = new lmbSelectRawQuery($sql, $this->conn);
     if($criteria)
       $query->addCriteria($criteria);
     return $query->getRecordSet();
@@ -50,7 +50,7 @@
             WHERE $table.id=$join_table.$foreign_field AND
             $join_table.$field=" . $this->owner->getId() . ' %where%';
 
-    $query = new lmbSelectQuery($sql, $this->conn);
+    $query = new lmbSelectRawQuery($sql, $this->conn);
     if($criteria)
       $query->addCriteria($criteria);
     return $query->getRecordSet();



More information about the limb-svn mailing list