Re: [web2py] Self Reference or Null

2010-04-15 Thread Alexey Nezhdanov
Question not clear. What does mean 'map' here? On Thu, Apr 15, 2010 at 4:45 PM, Leandro - ProfessionalIT < lsever...@gmail.com> wrote: > Friends, > > I have a situation where I can have a dog that I don't know your > father and mother. How to resolve this ? for example, a dog that I buy > in a

[web2py] Self Reference or Null

2010-04-15 Thread Leandro - ProfessionalIT
Friends, I have a situation where I can have a dog that I don't know your father and mother. How to resolve this ? for example, a dog that I buy in a shop. db.define_table('dog', Field('name'), Field('father_id','reference dog'), Field('mother_id','reference dog')) How to map thi