Anthony, thanks very much....


On Fri, Jan 13, 2012 at 12:03 PM, Anthony <[email protected]> wrote:

> Thanks a lot.
>> This solved the problem....
>>
>> Two questions:
>>
>> - why the brackets ??
>>
>
> Tables and fields can be accessed as properties via the usual "."
> notation, but also via keys like a dictionary. So,
>
> db['tablename'] is equivalent to db.tablename and
> db.tablename['fieldname'] is equivalent to db.tablename.fieldname.
>
>
>>
>> - is this the most "elegant" what to do this ??
>>
>
> Probably.
>
> Anthony
>
>

Reply via email to