[Solar-svn] Revision 3233

pmjones at solarphp.com pmjones at solarphp.com
Tue Jul 15 15:56:53 CDT 2008


Solar_Sql_Model: [ADD] Comment additions on fetch*() methods to include 'eager' and 'distinct'.  Thanks, Edward Z. Yang, for noting their absence.


Modified: trunk/Solar/Sql/Model.php
===================================================================
--- trunk/Solar/Sql/Model.php	2008-07-15 13:18:20 UTC (rev 3232)
+++ trunk/Solar/Sql/Model.php	2008-07-15 20:56:52 UTC (rev 3233)
@@ -700,6 +700,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns.
      * 
@@ -776,6 +782,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns.
      * 
@@ -849,6 +861,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns.
      * 
@@ -928,7 +946,13 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
      * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
+     * `distinct`
      * : (bool) Is this a SELECT DISTINCT?
      * 
      * `cols`
@@ -993,6 +1017,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns; only the first one will
      * be honored.
@@ -1050,6 +1080,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns; only the first two will
      *   be honored.
@@ -1100,6 +1136,12 @@
      * 
      * Recognized parameters for the fetch are:
      * 
+     * `eager`
+     * : (string|array) Eager-fetch records from these related models.
+     * 
+     * `distinct`
+     * : (bool) Use DISTINCT?
+     * 
      * `cols`
      * : (string|array) Return only these columns; only the first one will
      *   be honored.




More information about the Solar-svn mailing list