Methoddatetime_extract_sql Given a lookup_type of 'year', 'month', 'day', 'hour', 'minute' or 'second', returns the SQL that extracts a value from the given
Bus_reservation/Lib/site-packages/django/db/backends/base/operations.py:99
Methoddatetime_trunc_sql Given a lookup_type of 'year', 'month', 'day', 'hour', 'minute' or 'second', returns the SQL that truncates the given datetime field
Bus_reservation/Lib/site-packages/django/db/backends/base/operations.py:107