From 5afd9b79c119408c9bcf1e241121ba4120498ac3 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 16 May 2006 06:26:40 +0000 Subject: [PATCH] r10945: 15 May 2006 Kevin Rosenberg * 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 | 8 ++++++++ doc/ref-ooddl.xml | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/debian/changelog b/debian/changelog index b034fc8..6c259e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 15 May 2006 21:07:47 -0600 + cl-sql (3.6.0-1) unstable; urgency=low * New upstream diff --git a/doc/ref-ooddl.xml b/doc/ref-ooddl.xml index b6873c8..e3ad2f3 100644 --- a/doc/ref-ooddl.xml +++ b/doc/ref-ooddl.xml @@ -548,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. + + -- 2.34.1