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

Fixes 5040 PostgreSql json operators #5041

Merged
merged 10 commits into from
Mar 27, 2024

Commits on Mar 20, 2024

  1. Initial changes for json operators

    Add Json Path operator to grammar
    Add jsonExpression to return JSON type in resolver
    Add Integration Tests
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    70fa34b View commit details
    Browse the repository at this point in the history
  2. Add boolean operators to grammar

    Any operators starting with "?" must be escaped with an prefix "?" for binding with JDBC statements.
    This means that SQL statements must use e.g "??"
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    fe12308 View commit details
    Browse the repository at this point in the history
  3. Discriminate operator return type

    Either Boolean or JSON
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    d9a87cc View commit details
    Browse the repository at this point in the history
  4. Integration tests

    Tests for operators
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    dfee00c View commit details
    Browse the repository at this point in the history
  5. Fixture Test

    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    ac12c13 View commit details
    Browse the repository at this point in the history
  6. Remove "'||' | '-'" operators for now

    JsonExpressionMixin.kt
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    55a932b View commit details
    Browse the repository at this point in the history
  7. Fixture tests

    previous tests were not valid
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    201b430 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9845fae View commit details
    Browse the repository at this point in the history
  9. Add tests for operators

    Fixture tests
    Integration tests
    griffio committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    d8fd1c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. fix json functions

    Use the Json type so that the bind parameters use setObjectOther
    
    Add integration tests
    griffio committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    1e19cf7 View commit details
    Browse the repository at this point in the history