It returns no Row. It return an "int" object

db(db.person.id > 0).count()

*Translates to "SELECT count(*) FROM PERSON WHERE ID > )"*

*So the result is an integer object.*


*Bruno Cezar Rocha** - @rochacbruno*
rochacbr...@gmail.com | Mobile: +55 (11) 99210-8821
www.CursoDePython.com.br | www.rochacbruno.com.br
Blog: I am now a member of Python Software
Foundation<http://rochacbruno.com.br/i-am-now-a-member-of-python-software-foundation/>
  Get a signature like this.
<http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>
Click
here.<http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>



On Fri, Aug 17, 2012 at 6:54 PM, Mike Girard <mikegirar...@gmail.com> wrote:

>
> db(db.person.id > 0).count()
>
>

-- 



Reply via email to