I note about force id value on insert:
sqlite> insert into a values(0,0);
Yes, it is hack. Yes, I was trying to cheat with id for my own
reasons.
And then I was surprised that db.a[0].a does not exist while db.a[1].a
is.
Looking in to the sourcecode does not give me the answer 'Why'
due to luck of knowledge. Never the less, I made [1] as default to
undefined references.

On 17 янв, 02:31, mdipierro <mdipie...@cs.depaul.edu> wrote:
> The fact is you should not be able to choose the value of the ID of a
> new record. if you an auto increment fiels starting at 1 (which is the
> default for many SQL implementations).
>
> Massimo
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to