Open robmwalsh opened 3 years ago
In #321 @andrewhj pointed out MySQL doesn't support UUID directly, so that's another one we'll have to tackle.
https://github.com/zio/zio-sql/pull/321#issuecomment-733524550
Need more research if the way we're handling it now is correct. Specific tests would be good.
According to https://jdbc.postgresql.org/documentation/head/java8-date-time.html, ZonedDateTime, Instant and OffsetTime are not supported by JDBC. Some databases will likely support these types if we bypass the JDBC driver (everything else is platform specific, why not executor as well :D) . A couple of options:
1 and 2 would require good documentation and consistent handling across the types. 3 & 4 are probably unideal...
@jczuchnowski / @jdegoes any thoughts on this?