9 Aug
2002
9 Aug
'02
12:59 p.m.
__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 record tuples. 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. -Casey On Friday 09 August 2002 07:17 am, Johan Carlsson [Torped] wrote:
Hi, 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