__record_schema__ is simply a dictionary which maps field names to column
positions (ints) so that the record knows the index of each field in the
See line 154 of Catalog.py to see how it is initialized to the Metadata schema
plus a few extra columns for catalog rid and scores.
On Friday 09 August 2002 07:17 am, Johan Carlsson [Torped] wrote:
> I'm back on the Brain track :-)
> What function does the __record_schema__ attribute of the Brains have?
> Does it do anything else when provide the has_key feature?
> def has_key(self, key):
> return self.__record_schema__.has_key(key)
> Best Regards,
> Johan Carlsson
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -