yes, that's probably the problem.
On May 21, 7:14 am, Fran <[email protected]> wrote:
> On 21 May, 10:33, Alexey Nezhdanov <[email protected]> wrote:
>
> > The field is defined as:
> > SQLField('lat', 'double')
> > but when I do select() this field comes in as a string:
> > (Pdb) print type(db(db.table.id>0).select()[0].lat)
> > <type 'str'>
> > This is obviously a bug, but whose?
>
> Did you change type after creation?
> SQLite doesn't handle migrations well.
> - need to delete the table & start again...
>
> F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---