Skip to content

Postgres json column search error #680

Description

@bytedevzone

https://github.com/bcit-ci/CodeIgniter4/blob/0d6bf21cd61438ae0e030e6ccc9d28ae9caf0f64/system/Database/BaseBuilder.php#L2801

Added white space bteween '>>' operator

Sample rule:
project->>'value' LIKE :project->>'value' ESCAPE '!'
converted to
project->>'value' LIKE :project-> > 'value' ESCAPE '!'
its shows error.

Update :

Modified above line to:
\s*[^->]>\s*', // >

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions