Sets joda-time DateTime as statement parameter.
Sets joda-time DateTime as statement parameter.
For null
value, setNull
with TIMESTAMP
is called on statement.
import org.joda.time.DateTime SQL("UPDATE tbl SET modified = {d}").on('d -> new DateTime())
Sets joda-time Instant as statement parameter.
Sets joda-time Instant as statement parameter.
For null
value, setNull
with TIMESTAMP
is called on statement.
import org.joda.time.Instant SQL("UPDATE tbl SET modified = {d}").on('d -> new Instant())