Skip to content

datetime

YearOperator

Bases: UnaryPQLOperator

Year operator that returns year of datetime column.

Applies YEAR operator to column.

query_string property

query_string: str

QuarterOperator

Bases: UnaryPQLOperator

Quarter operator that returns the quarter.

Applies QUARTER operator to column.

query_string property

query_string: str

MonthOperator

Bases: UnaryPQLOperator

Month operator that returns month of datetime column.

Applies MONTH operator to column.

query_string property

query_string: str

CalendarWeekOperator

Bases: UnaryPQLOperator

Calendar week operator that returns calendar week of datetime column.

Applies CALENDAR_WEEK operator to column.

query_string property

query_string: str

DayOperator

Bases: UnaryPQLOperator

Day operator that returns day of datetime column.

Applies DAY operator to column.

query_string property

query_string: str

HoursOperator

Bases: UnaryPQLOperator

Hours operator that returns hours of datetime column.

Applies HOURS operator to column.

query_string property

query_string: str

MinutesOperator

Bases: UnaryPQLOperator

Minutes operator that returns minutes of datetime column.

Applies MINUTES operator to column.

query_string property

query_string: str

SecondsOperator

Bases: UnaryPQLOperator

Seconds operator that returns seconds of datetime column.

Applies SECONDS operator to column.

query_string property

query_string: str

DayOfWeekOperator

Bases: UnaryPQLOperator

Day of week operator that returns day of week as number.

Applies DAY_OF_WEEK operator to column.

query_string property

query_string: str

RoundYearOperator

Bases: UnaryPQLOperator

Round year operator that rounds date to year.

Applies ROUND_YEAR operator to column.

query_string property

query_string: str

RoundQuarterOperator

Bases: UnaryPQLOperator

Round quarter operator that rounds date to quarter.

Applies ROUND_QUARTER operator to column.

query_string property

query_string: str

RoundMonthOperator

Bases: UnaryPQLOperator

Round month operator that rounds date to month.

Applies ROUND_MONTH operator to column.

query_string property

query_string: str

RoundWeekOperator

Bases: UnaryPQLOperator

Round week operator that rounds date to week.

Applies ROUND_WEEK operator to column.

query_string property

query_string: str

RoundDayOperator

Bases: UnaryPQLOperator

Round day operator that rounds date to day.

Applies ROUND_DAY operator to column.

query_string property

query_string: str

RoundHourOperator

Bases: UnaryPQLOperator

Round hour operator that rounds date to hour.

Applies ROUND_HOUR operator to column.

query_string property

query_string: str

RoundMinuteOperator

Bases: UnaryPQLOperator

Round minute operator that rounds date to minute.

Applies ROUND_MINUTE operator to column.

query_string property

query_string: str

RoundSecondOperator

Bases: UnaryPQLOperator

Round second operator that rounds date to second.

Applies ROUND_SECOND operator to column.

query_string property

query_string: str