Skip to content

Analyze console button adds extra space to the Generated SQL when using jsonb #4893

Open
@femanzo

Description

@femanzo

When I click analyze to this query:

query MyQuery {
  comments(
    where: {
      computed: { _contains:{users: {count: 2}}}
    },
    limit:1000) {
    owner {
      username
    }
  }
}

The Generated SQL, for the _contains part, shows:
("public"."comments"."computed") @ > (('{"users":{"count":2}}') :: jsonb)

The query works fine, but if I copy and paste this into SQL area and run, I get an error, because of the extra space after the "@"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions