4 Star 43 Fork 7

change/spring-data-jdbc-mybatis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
method-name-query.md 2.80 KB
一键复制 编辑 原始数据 按行查看 历史
change 提交于 1年前 . [new] name query

method name query

keyword sample SQL
And findByLastnameAndFirstname ... where lastname = ? and firstname = ?
Or findByLastnameOrFirstname ... where lastname = ? or firstname = ?
Is, Eq findByLastnameEq/findByLastname … where lastname = ?
not findByLastnameNot … where lastname != ?
Between findByStartDateBetween … where startDate between ? and ?
Lt findByStartDateLt … where startDate > ?
Lte findByStartDateLte … where startDate >= ?
Gt findByStartDateGr … where startDate > ?
Gte findByStartDateGte … where startDate >= ?
After findByStartDateAfter … where startDate > ?
Before findByStartDateBefore … where startDate < ?
Like findByFirstnameLike … where firstname like ?
NotLike findByFirstnameNotLike … where firstname not like ?
OrderBy findByAgeOrderByLastnameDesc … where age = ? order by lastname desc
in findByAgeIn … where age in (?,?)
NotIn findByAgeNotIn … where age not in (?,?)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/vonchange/spring-data-jdbc-mybatis.git
git@gitee.com:vonchange/spring-data-jdbc-mybatis.git
vonchange
spring-data-jdbc-mybatis
spring-data-jdbc-mybatis
master

搜索帮助