Yeah, that's what I ended up using... was really looking for a
boolean, so I faked it (def isEmpty(tb): returns True if empty, False
if not).

Was just looking to see if there was one already.
Thanks for the reply
Mart :)


On Apr 12, 1:02 pm, Marin Pranjic <marin.pran...@gmail.com> wrote:
> Something like db(db.tablename.id>0).count() ?
>
>
>
>
>
>
>
> On Tue, Apr 12, 2011 at 5:22 PM, mart <msenecal...@gmail.com> wrote:
> > Hi,
>
> > is there a shortcut  to check if a table is empty? (not look to see
> > what the content is, just if it has any at all)
>
> > Thanks,
> > Mart :)

Reply via email to