On Fri, Mar 19, 2010 at 11:34 AM, Thadeus Burgess <[email protected]> wrote:
> You could do a
>
> def install():
>   if db(db.table.id > 0).count() == 0:
>      db.table.insert(record1)
>      db.table.insert(record2)
>   if db(db.table2.id > 0).count() == 0:
>      db.table2.insert(record1)
>
> install()
>
> -Thadeus
>
>

Thadeus, thx.

I'm also looking at what might be the best way to parse the current
code base (doc strings) or epydocs and put that info in to the db.

-wes

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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.

Reply via email to