Skip to content

Date and Bool fixes

Pre-release
Pre-release

Choose a tag to compare

@tanner0101 tanner0101 released this 22 Apr 22:56
d65918e
This patch was authored by @mcdappdev and released by @tanner0101.

Fixes some regressions around Date and Bool handling (#168).

  • Foundation.Date can now be decoded from .date (DATE) columns.

Note: Time information will be silently discarded when Foundation.Date is stored in .date column. Use .datetime (DATETIME(6)) to store date + time.

  • Fluent's .bool data type and Swift.Bool now use MySQL's BOOL (TINYINT) column type instead of BIT.