From: "Sebastian Sippl" <[EMAIL PROTECTED]>
> When I send my request, the only things I get back are some <MYBRAnI
> instance at #123848>-tags.

Thats what you get back from catalog queries. Each brain is a small object
that has all the meta-data you have indexed in the catalog as properties.
It's done like this to enable queries to be "lazy". You don't actually need
to read in the data until it's accessed, which is a great performance boost.

You use the brain as if it were a dictionary, and the result is a list of
brains. So you go

for brain in result:
    if brain['id'] == 'foo':
        context.barf()

or something of that ilk.




_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to