(in-package :lol) (defun find-many-to-many-class (slot-name instance) (let* ((imd (getf (meta-model::find-slot-metadata instance slot-name) :db-info)) (jc (make-instance (getf imd :join-class))) (jcmd (getf (meta-model::find-slot-metadata jc (getf imd :target-slot)) :db-info))) (getf jcmd :join-class))) (defattribute many-to-many () ()) (define-layered-method attribute-value (object (attribute many-to-many)) (call-next-method)) (defdisplay (:description (attribute many-to-many)) (let ((instances (select-instances object)) new-instance) (<:ul (<:li (