(slot-definition s))
when (sstoredp sd)
collect sd))
+ ;; handle slots with defaults
+ (dolist (slot slots)
+ (when (and (slot-exists-p slot 'db-constraints)
+ (listp (view-class-slot-db-constraints slot))
+ (member :default (view-class-slot-db-constraints slot)))
+ (update-slot-from-record obj (slot-definition-name slot))))
;;this may just be a NOP.
(setf (slot-value obj 'view-database) database)))