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

Add support for Json functions. #679

Open
chinamcafee opened this issue Nov 6, 2021 · 1 comment
Open

Add support for Json functions. #679

chinamcafee opened this issue Nov 6, 2021 · 1 comment
Labels
type: enhancement A general enhancement

Comments

@chinamcafee
Copy link

There is a json array field in mysql table, which name is "permissions",I can't use
Criteria.where("permissions").in(value)
to get results.

I also need dynamic SQL,so use
@Modifying @Query("UPDATE person SET firstname = :firstname where lastname = :lastname")
cannot satisfied my problem.

Is there any way to have both dynamic SQL ability and JSON_CONTAINS function support when I use spring-data-r2dbc?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 6, 2021
@schauder
Copy link
Contributor

schauder commented Nov 8, 2021

@christophstrobl christophstrobl changed the title Can I use mysql function JSON_CONTAINS when I use criteria? Add support for Json functions. Nov 8, 2021
@christophstrobl christophstrobl added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants