Skip to content

Support True, False and None in codition as python #27

Description

@maimike

Because pql simulate the python language so it may be very helpful if it support the same way with python as below
query = '{var1} and {var2}'.format(var1=var1 or True, var2=var2)
in case var1 = None, True, False
Expect: it is still valid
Actual: throw exception

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions