It is very hard to answer you without more information about what you want to do with them.
To directly answer the question, use gui.db.custom_field_keys(include_composites=True) to get a list of keys (lookup names) of the custom columns in the current library.
There are many methods in gui.db.new_api (db/cache.py) to manipulate fields. Custom columns are just another example of fields.
|