select_date¶
-
PostgresQueryBuilder.
select_date
(*args)[source]¶ Add columns to be returned as an ISO formatted date to the select clause. Specify as individual args. Do not use ‘col AS x’. NOTE: no escaping is used!
example: q.select_date(‘created_at’, ‘updated_at’) can also chain: q.select_date(‘mycol’).select_date(‘othercol’)
- Parameters
args – date columns to select as individual arguments
- Returns
QueryBuilder object (for chaining)