We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SELECT * FROM `sys_user` WHERE user_id in (148,149,150)
目前只想取 select user_name, 用@transient无效
meeMeeting = MeeMeeting.queryFirst("mee_id = ?", new Relationship[]{ MeeMeeting.HAS_MANY_MEE_CHATS, MeeMeeting.HAS_MANY_SYS_FILE_INFOS, MeeMeeting.HAS_MANY_MEE_JOINS, MeeMeeting.HAS_MANY_MEE_VOTE_LIST, **MeeMeeting.HAS_ONE_MAIN_USERS** }, meeId); @Transient private String userName;
The text was updated successfully, but these errors were encountered:
你好,这样的Case 应该属于自定义查询,基于Model 的查询,无法匹配不同的场景,进行不同的Projection, 你可以通过Select 类,自己构造Projection.
Sorry, something went wrong.
请问rawAttributes 这个数据怎么隐藏,返回数据的时候全部取出来了
因为SQL 在Projection 时出现的字段,在Model 不一定都定义,例如:
select count(*) as user_count from users
user_count 字段在User 中未定义,它就会出现在rawAttributes 中,
明白了谢谢
No branches or pull requests
目前只想取 select user_name, 用@transient无效
The text was updated successfully, but these errors were encountered: