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

建议全局过滤器新增拼接条件的顺序配置 #1492

Closed
coolqingcheng opened this issue Apr 17, 2023 · 2 comments
Closed

建议全局过滤器新增拼接条件的顺序配置 #1492

coolqingcheng opened this issue Apr 17, 2023 · 2 comments

Comments

@coolqingcheng
Copy link

比如

// 拼在最前面 ,适用于多租户情况
//fsql.GlobalFilter.ApplyIf<IMid>("mid", () => xxxxx,begin)
//拼在最后面 适用于 软删除情况
//fsql.GlobalFilter.ApplyIf<IMid>("mid", () => xxxxx,end)
@2881099
Copy link
Collaborator

2881099 commented Apr 17, 2023

尝试了一下改进,目前多表查询的场景代价偏大,可能会疏于测试。

@coolqingcheng
Copy link
Author

牛逼了叶老板,这个功能超级实用

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