I think I get the ObjFun part in:
(de dbMap ("ObjFun" "TreeFun")
(default "ObjFun" quote "TreeFun" quote)
(finally (mark 0)
(dbMapT *DB) ) )
But what about the TreeFun?
Pretend I want to loop through all +FeedTags:
(class +FeedTag +Entity) #
(rel user (+Ref +Link) NIL (+User)) #
(rel tag (+Aux +Ref +Link) (user) NIL (+Tag)) #
(rel feed (+Aux +Ref +Link) (user) NIL (+Feed)) #
And remove all of them where the tag or feed object is missing, what
would the dbMap call look like?
On Mon, Nov 21, 2011 at 2:34 PM, Alexander Burger <a...@software-lab.de> wrote:
> On Mon, Nov 21, 2011 at 08:05:13AM +0100, Alexander Burger wrote:
>> (dbMap '((Obj) (unless (ext? Obj) .. something is wrong ..)))
> Of course, this is only half the cake. It won't detect situations where
> a referred object was deleted and a new object created meanwhile
> (possibly of another type).
> UNSUBSCRIBE: mailto:firstname.lastname@example.org?subject=Unsubscribe