r10945: 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 16 May 2006 06:26:40 +0000 (06:26 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 16 May 2006 06:26:40 +0000 (06:26 +0000)
        * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
        slots for def-view-class macro [as reported missing by Thomas Fischbacher].

debian/changelog
doc/ref-ooddl.xml

index b034fc81bfe8edb82983a4cb277d61f3207bb2bf..6c259e414de244fdf0fb7870f824f4d48a7e8f17 100644 (file)
@@ -1,3 +1,11 @@
+cl-sql (3.6.1-1) unstable; urgency=low
+
+  * New upstream, add documentation for db-reader and
+  verified correct operation with symbol-function of symbol
+  (closes: 352567)
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 15 May 2006 21:07:47 -0600
+
 cl-sql (3.6.0-1) unstable; urgency=low
 
   * New upstream
index b6873c8d75d32bee43313ddc7e15f267dc5f5e2b..e3ad2f38627990a2564e2410365c5a821c561ed3 100644 (file)
            slot value.
          </para>
        </listitem>
+       <listitem>
+         <para>
+           <parameter>:db-reader</parameter> - If a string, then when
+           reading values from the database, the string will be used
+           for a format string, with the only value being the value
+           from the database.  The resulting string will be used as
+           the slot value.  If a function then it will take one
+           argument, the value from the database, and return the
+           value that should be put into the slot. If a symbol, then
+           the symbol-function of the symbol will be used.
+          </para>
+        </listitem>
+       <listitem>
+         <para>
+           <parameter>:db-writer</parameter> - If a string, then when
+           reading values from the slot for the database, the string
+           will be used for a format string, with the only value
+           being the value of the slot.  The resulting string will be
+           used as the column value in the database.  If a function
+           then it will take one argument, the value of the slot, and
+           return the value that should be put into the database. If
+           a symbol, then the symbol-function of the symbol will be
+           used.
+          </para>
+        </listitem>
       </itemizedlist>
     </refsect1>
     <refsect1>