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

Fix for issue #592, json query fix when question mark is used in data #628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kamisoft-fr
Copy link

Fix places where the parameterPlaceholder is hardcoded to a question mark ?

Since the SqlResult still contained ToString method which had the hardcoded placeholder, here is what I've done:

  1. Added compiler to the constructor of SqlResult
  2. Made ParameterPlaceholder public
  3. Added tests PostgresJsonTests

There is so a breaking change on the SqlResult class since its public, So the sqlkata version would be changed as major (2 to 3 or 3 to 4)

@aastovas
Copy link

Any update on this PR? It would be great if we could have it merged :)

@hookenful
Copy link

I highly upvote this

… is hardcoded to a ?

Added compiler to the constructor of SqlResult
Made ParameterPlaceholder public
@ghost
Copy link

ghost commented Oct 10, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

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

Successfully merging this pull request may close these issues.

3 participants