Sets a temporal instant on statement.
Sets a temporal instant on statement.
import java.time.Instant import anorm.Java8._ SQL("SELECT * FROM Test WHERE time < {b}").on('b -> Instant.now)
Sets a local date/time on statement.
Sets a local date/time on statement.
import java.time.LocalDateTime import anorm.Java8._ SQL("SELECT * FROM Test WHERE time < {b}").on('b -> LocalDateTime.now)
Sets a zoned date/time on statement.
Sets a zoned date/time on statement.
import java.time.ZonedDateTime import anorm.Java8._ SQL("SELECT * FROM Test WHERE time < {b}").on('b -> ZonedDateTime.now)