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

sql查询添加过滤方法方便操作 #20

Open
easydowork opened this issue Nov 12, 2023 · 0 comments
Open

sql查询添加过滤方法方便操作 #20

easydowork opened this issue Nov 12, 2023 · 0 comments

Comments

@easydowork
Copy link

easydowork commented Nov 12, 2023

Hyperf\Database\Query\Builder 添加 whereFilter方法 过滤空
Hyperf\Database\Model\Builder 添加 whereFilter方法 过滤空
在参数为空时 此字段不参与sql查询 类似Yii2的andFilterWhere 方便点

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

1 participant