lucidsoftware / relate

Performant database access in Scala
http://lucidsoftware.github.io/relate/
Apache License 2.0
161 stars 15 forks source link

Add support for LocalDate #86

Closed richard-shurtz closed 1 year ago

richard-shurtz commented 1 year ago

The interface from SqlRow doesn't currently expose any good interface for representing a LocalDate (Year-month-date).

Having strictDate return its more specific java.sql.Date exposes the native interface we would expect. Having a localDate method returns the java.time equivalent which is the ideal interface.