crud.select(table, query, fields, orderby, limitby, headers, **attr)
DAL table or a tablename the method should act on
Query is the query to be used to select records.
fields is a list of fields to be selected.
orderby determines the order in which records should be selected
limitby determines the range of selected records that should be displayed
headers is a dictionary with the table header names.