r11077: fix perm
[clsql.git] / doc / ref-ooddl.xml
index 5c51f4b5f35ff3f3c636cea7c2e8e37485a047e8..e3ad2f38627990a2564e2410365c5a821c561ed3 100644 (file)
                provides a number of time manipulation functions to
                support objects of type <type>wall-time</type>.
              </member>
+             <member>
+               <parameter>date</parameter> - a slot which stores the
+               date (without any time of day resolution) in a
+                column. &clsql; provides a number of time
+               manipulation functions that operate on date values.
+             </member>
              <member>
                <parameter>duration</parameter> - stores a
                <type>duration</type> structure.  &clsql; provides
            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>