Thanks for clarifying
On Aug 17, 8:56 pm, howesc wrote:
> note that standalone web2py defaults to sqlite storage, GAE development
> environment uses a GAE emulation of big-table, so data added when running
> standalone will not be available in GAE dev env and vice versa.
>
> cfh
note that standalone web2py defaults to sqlite storage, GAE development
environment uses a GAE emulation of big-table, so data added when running
standalone will not be available in GAE dev env and vice versa.
cfh
Can you try:
db(db.Statuses).select().first()
did you check with the GAE console that the record is there?
On Aug 16, 8:21 pm, ram wrote:
> Thanks for your response. My problem is there is a record in the
> database. While standalone returns a record, while in GAE environment,
> it returns none
Thanks for your response. My problem is there is a record in the
database. While standalone returns a record, while in GAE environment,
it returns none.
On Aug 16, 11:40 pm, Massimo Di Pierro
wrote:
> Nothing. first() returns None if there is no first record. Try
>
> row = db().select(db.Sta
Nothing. first() returns None if there is no first record. Try
row = db().select(db.Statuses.ALL).first() or 'nothing to see
here'
On Aug 16, 1:09 pm, ram wrote:
> This following code segment displays the first row from the table in
> the view correctly when run using ./web2py. It returns
5 matches
Mail list logo