QueryDSL - select rows with date from timestamp column -


using querydsl - there way select rows date timestamp other using .between? query:

where convert(date, mytimestamp) = '2013-02-28'

you can either use between or custom expression if use querydsl sql

something this

dateexpression<date> converted = datetemplate.create(date.class, "convert(date, {0})", mytimestamp); 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

c# - ASP.NET MVC Enumerable to delimited HTML in Razor -