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

学习自定义列输出文档,没有找到文档中的o.columnAll()和o.columnAs()方法 #296

Open
zeromessiah opened this issue Jan 6, 2025 · 5 comments

Comments

@zeromessiah
Copy link

使用依赖如下
implementation("com.easy-query:sql-springboot-starter:2.3.5")
annotationProcessor("com.easy-query:sql-processor:2.3.5")

@xuejmnet
Copy link
Collaborator

xuejmnet commented Jan 6, 2025

@zeromessiah 文档http://www.easy-query.com/easy-query-doc/

你看到的可能是lambda模式的版本,proxy模式使用o.FETCHER.allFields,如果可以的话加qq群文档首页,群里也有很多小伙伴:)

@xuejmnet
Copy link
Collaborator

xuejmnet commented Jan 6, 2025

@xuejmnet
Copy link
Collaborator

xuejmnet commented Jan 6, 2025

@zeromessiah 您好方便告知o.columnAll()和o.columnAs()这两个函数您是在哪里看到的吗?因为eq有多种api模式现在尽可能的想合并到一种

@zeromessiah
Copy link
Author

zeromessiah commented Jan 6, 2025

@zeromessiah 您好方便告知o.columnAll()和o.columnAs()这两个函数您是在哪里看到的吗?因为eq有多种api模式现在尽可能的想合并到一种

@xuejmnet http://www.easy-query.com/easy-query-doc/query/select-column.html 全字段查询和追加映射字段的lambada模式

@xuejmnet
Copy link
Collaborator

xuejmnet commented Jan 6, 2025

@zeromessiah
image

这边已经区分了entity和lambda两种模式,首先推荐entity模式,entity模式没有columnAll和columnAs的可以通过其他模式来实现您想要的

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

2 participants