Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres json column search error #680

Closed
bytedevzone opened this issue Aug 16, 2017 · 2 comments
Closed

Postgres json column search error #680

bytedevzone opened this issue Aug 16, 2017 · 2 comments

Comments

@bytedevzone
Copy link

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*', // >

@lonnieezell
Copy link
Member

Could you submit a PR for this?

@bytedevzone
Copy link
Author

Submitted PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants