ws.db.selects.SelectBase module¶
- class ws.db.selects.SelectBase.SelectBase(db)¶
Bases:
object
- API_PREFIX = None¶
- DB_PREFIX = None¶
- classmethod set_defaults(params)¶
Responsible for setting default values of the query parameters.
- classmethod sanitize_params(params)¶
Responsible for raising
AssertionError
in case of wrong input.
- classmethod db_to_api(row)¶
Converts data from the database into the API format.
- classmethod filter_params(params, *, generator=False)¶
- execute_sql(query, *, explain=False)¶