get-instance-by-value returns nil to me in the example below. May be it is due to my configuration, which is ele 0.9 on lispworks/win32 with postmodern.
printing the list to a string and storing the string and reading back is ok, however. Frank > -----Ursprüngliche Nachricht----- > Von: "Alex Mizrahi" <[EMAIL PROTECTED]> > Gesendet: 27.09.08 15:11:39 > An: "Elephant bugs and development" <elephant-devel@common-lisp.net> > Betreff: Re: [elephant-devel] get-instance-by-value where value is a list > IE> Currently none of the stores support comparing lists. > > em, we do not support get-instances-by-range queries, > but get-instance-by-value should be fine, as long as serialized > representation of list is same. > > ELE-TESTS> (open-store *testbdb-spec*) > #<BDB-STORE-CONTROLLER /home/alex/stix/lisp/vc/elephant/tests/testdb/> > > ELE-TESTS> (defpclass rsdrp () > ((islot :accessor islot :initarg :islot :index t))) > #<PERSISTENT-METACLASS RSDRP> > ELE-TESTS> (make-instance 'rsdrp :islot (list 1 2)) > #<RSDRP oid:600> > ELE-TESTS> (make-instance 'rsdrp :islot (list 3 4)) > #<RSDRP oid:603> > ELE-TESTS> (make-instance 'rsdrp :islot (list 5 6)) > #<RSDRP oid:604> > ELE-TESTS> (get-instance-by-value 'rsdrp 'islot (list 5 6)) > #<RSDRP oid:604> > T > ELE-TESTS> (get-instance-by-value 'rsdrp 'islot (list 1 2)) > #<RSDRP oid:600> > T > ELE-TESTS> (get-instance-by-value 'rsdrp 'islot (list 3 4)) > #<RSDRP oid:603> > T > > works in db-postmodern too, and i guess should work with clsql. > > so either Frank has problems with some special form of lists, > or maybe he means that it's get-instances-by-range which is broken. > _______________________________________________ > elephant-devel site list > elephant-devel@common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel > ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 _______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel