database.Table.fields()
Syntax
fields()
Description
Returns a list with all the names of all the fields in the table.
Example
db = ximport("database")
book = db.connect("book")
print book.table("pages").fields()
>>> ["id", "title", "text", "image", "pagenumber"]