X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fref-ooddl.xml;h=e3ad2f38627990a2564e2410365c5a821c561ed3;hb=2cc1083c5a91cd9cf1d7b83649fdbb942028eea1;hp=5c51f4b5f35ff3f3c636cea7c2e8e37485a047e8;hpb=d0695ffb828519fade3aa5166236812e6144975b;p=clsql.git
diff --git a/doc/ref-ooddl.xml b/doc/ref-ooddl.xml
index 5c51f4b..e3ad2f3 100644
--- a/doc/ref-ooddl.xml
+++ b/doc/ref-ooddl.xml
@@ -469,6 +469,12 @@
provides a number of time manipulation functions to
support objects of type wall-time.
+
+ date - 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.
+
duration - stores a
duration structure. &clsql; provides
@@ -542,6 +548,31 @@
slot value.
+
+
+ :db-reader - 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.
+
+
+
+
+ :db-writer - 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.
+
+