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

mysql json #54

Open
imayou opened this issue Nov 16, 2020 · 2 comments
Open

mysql json #54

imayou opened this issue Nov 16, 2020 · 2 comments

Comments

@imayou
Copy link

imayou commented Nov 16, 2020

mysql 查询json格式字段的支持吗?

@wenhao
Copy link
Owner

wenhao commented Nov 23, 2020

我可以试试

@Jaccccccccccccccccccccccccccccck

在使用json内部字段查询的时候报错
代码如下
.like(!Strings.isNullOrEmpty(nickName), "user_info->>'$.phone'", "%" + nickName + "%")
报错如下
Unable to locate Attribute with the the given name [user_info->>'$] on this ManagedType

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

3 participants