[web2py] Re: Newbie DAL question

2010-04-14 Thread Sheldon
You are absolutely correct. While testing I used sqlitebrowser to insert records, and it inserted strings instead of integers. Thank you very much, Sheldon On Apr 13, 10:01 pm, mdipierro wrote: > I do not understand. > > This should be correct > >   auth_membership.user_id=4 > > This should no

[web2py] Re: Newbie DAL question

2010-04-13 Thread mdipierro
I do not understand. This should be correct auth_membership.user_id=4 This should not be correct auth_membership.user_id='4' because auth_membership.user_id is a of type 'reference' and therefore contains an integer. If you are using SQLite it is possible that auth_membership.user_id conta