Skip to content

data_type

ToIntOperator

ToIntOperator(operand, **_)

Bases: UnaryPQLOperator

To int operator that converts column to int.

Applies TO_INT operator to column.

is_boolean class-attribute instance-attribute

is_boolean = False

query_string property

query_string

Returns query string.

ToFloatOperator

ToFloatOperator(operand, **_)

Bases: UnaryPQLOperator

To float operator that converts column to float.

Applies TO_FLOAT operator to column.

is_boolean class-attribute instance-attribute

is_boolean = False

query_string property

query_string

Returns query string.

ToStringOperator

ToStringOperator(operand, format_=None)

Bases: UnaryPQLOperator

To string operator that converts column to string.

Applies TO_STRING operator to column.

Parameters:

  • operand (Union[ScalarValue, PQLOperator]) –

    Operand which is converted to string.

  • format_ (Optional[str], default: None ) –

    Format defining how dates are interpreted documentation.

is_boolean class-attribute instance-attribute

is_boolean = False

query_string property

query_string

Returns query string.

ToDateOperator

ToDateOperator(operand, format_)

Bases: UnaryPQLOperator

To date operator that converts column to date.

Applies TO_DATE operator to column.

Parameters:

is_boolean class-attribute instance-attribute

is_boolean = False

query_string property

query_string

Returns query string.