i was looking for a way to make up a dictionary of fields from a
SQLObject instance -- this would ease the integration with FormEncode
in Subway. i known this is an already debated topic but unfortunately
i cannot track down proposed solutions browsing the SQLOBject list articles.
I've recently written some notes about the topic on the Subway list,
actually we added the "fields" and a "field_list" properties to our
SQLModel, but it's a partial, ad-hoc solution, since it ignores
"magic fields" (_get_foo, _set_foo) an primary keys.
i would like to known if it's planned to add some way to extract the
full list of fields directly into the new "sqlmeta" class. It could be a
dictionary or a list of (name, value) tuples if fields order is
preserved, but AFAIK this is not the case for SQLObject.
Get latest updates about Open Source Projects, Conferences and News.