loopbackio / loopback-connector-mysql

Loopback Connector for MySQL
Other
125 stars 183 forks source link

Document mysql for handling booleans #208

Closed Amir-61 closed 7 years ago

Amir-61 commented 8 years ago

Document https://github.com/strongloop/loopback-connector-mysql/pull/202 after landing. Should be documented here: http://loopback.io/doc/en/lb2/MySQL-connector.html#type-mappings

shaheero commented 8 years ago

It's weird how a Boolean Loopback -> TINYINT(1) MySQL, while the opposite is not the same. Also, MySQL Char(1) converted to Boolean successfully but always gave true in my project.

ssh24 commented 7 years ago

The docs have been updated in here. Closing this issue.