Skip to content

Extra Spaces in Comparison Operators #401

@xterao

Description

@xterao

Describe the bug
There are cases where unnecessary spaces are inserted into comparison operators in SQL.

json_column - > > 'code' -- Incorrect space
AND x < > '0' -- Incorrect space

Ensure that even when multiple JSON property names are specified, they are not broken into separate lines at the comma.

, jsonb_data ?& array ['name'
, 'age'] AS has_required_fields -- Incorrect line break

Expected behavior
Comparison operators should not contain extra spaces, and should be formatted correctly.

Desktop :

  • IDEA Version : 2024.3.6
  • Doma Tools Version : 2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions