Closed john-shaffer closed 3 years ago
@john-shaffer Hey John, I already have some fixes for that on master, but this requires a new babashka version as well from master.
@john-shaffer If you are in a hurry, I can do releases of both.
Your tests do seem to be more extensive. You can make a PR with only your tests and they should already work on CI.
I'll just merge your PR for now so it works with older version of bb as well.
Currently we get an exception when the MySQL driver returns a LocalDateTime. This handles LocalDateTimes correctly and adds tests against now() and the date, datetime, and timestamp types.
I decided not to implement any JSON conversions because the driver returns JSON as strings rather than JSON objects like the postgres driver does, so we can't convert them automatically. I recommend calling the JSON generation and parsing functions manually when using MySQL.
Closes #8.