Created
January 4, 2010 12:55
-
-
Save smanek/268496 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ele:with-transaction () | |
(mapcar #'(lambda (oid) | |
(ele::controller-recreate-instance ele:*store-controller* oid)) | |
(ele:with-btree-cursor (curs (ele:find-inverted-index class slot)) | |
(loop with i = 0 | |
for (m k v) = (multiple-value-list (ele:cursor-last curs)) | |
then (multiple-value-list (ele:cursor-prev curs)) | |
while (and m (if count | |
(<= (incf i) count) | |
t)) | |
collect v)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment