persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Add extract() to CriteriaBuilder

Open gavinking opened this issue 2 years ago • 19 comments

This approach isn't completely typesafe, but it's significantly less complex than a solution which is.

Questions:

  • Do we want to buy into the extra complexity required to make this properly typesafe? (DateField, TimeField, and DateTimeField instead of just TemporalField.)
  • What package should TemporalField be defined in?

gavinking avatar Feb 01 '22 10:02 gavinking