QueryDSL 에서 mySQL date() 함수 사용
SQLExpressions.date()
을 사용하면 된다.
1
2
import com.querydsl.sql.SQLExpressions;
SQLExpressions.date(QTable.table.date)
출처 https://stackoverflow.com/questions/24531957/mysql-date-function-in-querydsl
This post is licensed under CC BY 4.0 by the author.