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

实现 gormgen 生成 Where{FieldName}In 、Where{FieldName}NotIn 方法 #13

Closed
xinliangnote opened this issue Mar 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@xinliangnote
Copy link
Owner

xinliangnote commented Mar 3, 2021

1、自动生成的代码,支持 Where{FieldName}In 方法,例如:

  • WhereIdIn([]int32{1,2,3})
  • WhereNameIn([]string{"Tom", "Jack"})

2、自动生成的代码,支持 Where{FieldName}NotIn 方法,例如:

  • WhereIdNotIn([]int32{1,2,3})
  • WhereNameNotIn([]string{"Tom", "Jack"})
@xinliangnote xinliangnote changed the title 实现 gormgen 生成 Where{FieldName}In 方法 实现 gormgen 生成 Where{FieldName}In 、Where{FieldName}NotIn 方法 Mar 4, 2021
@xinliangnote xinliangnote added the enhancement New feature or request label Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant