Quote:
Originally Posted by chaley
Look at the new class library.field_metadata, available as db.field_metadata. This a dict, keyed by the attribute name. The data fetched using the key has everything needed, including the datatype and its column number for fetching and storing the information.
Something like:
Code:
for key in db.field_metadata:
|
Charles,
I looked at this after we spoke. I saw a field that I think was called "datatype" that was populated with one of the 9 types of data that could be specified as user-defined data.
Does there happen to be a defined list of all datatypes that I can cycle through in a for: loop, something like:
Code:
for datatype in list_of_all_available_datatypes:
I'd like to catch any new datatypes in that loop beyond the current 9, if any are ever added.
Thanks.