In other words, I am looking for code like this:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gluon import current
from gluon.dal import DAL, Field
db = DAL('sqlite://storage.db', lazy_tables=True)
db.define_table('mytable', Field('myfield'))
rows = fn_that_returns_a_list_or_Rows_object()
populate(db.mytable, rows) # a different version than gluon.contrib.populate
- Will this populate() be easy to write?
- Is there a populate() like the one I want already out there?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.