Skip to content

Commit ff61f90

Browse files
authored
Fixed mysql bit type mapping doc (#304)
1 parent f254f9b commit ff61f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usage/sync-rules/types.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ MySQL values are mapped according to this table:
8484
| numeric, decimal | text | |
8585
| bool, boolean | integer | 1 for true, 0 for false |
8686
| float, double, real | real | |
87-
| bit | integer | |
8887
| enum | text | |
8988
| set | text | Converted to JSON array |
9089
| char, varchar | text | |
@@ -94,6 +93,7 @@ MySQL values are mapped according to this table:
9493
| time, datetime | text | ISO 8061 format: `YYYY-MM-DDTHH:mm:ss.sssZ` |
9594
| year | text | |
9695
| json | text | There is no dedicated JSON type — JSON functions operate directly on text values. |
96+
| bit | blob | |
9797
| binary, varbinary | blob | See note below regarding binary types |
9898
| blob, tinyblob, mediumblob, longblob | blob | |
9999
| geometry, geometrycollection | blob | |

0 commit comments

Comments
 (0)