Just want to know what are the corresponding datatype that I should declare when using DataMapper.
Types in MySQL
- smallint
- bit
- varchar
Can anyone tell me the corresponding type in DataMapper?
Thanks.
Just want to know what are the corresponding datatype that I should declare when using DataMapper.
Types in MySQL
Can anyone tell me the corresponding type in DataMapper?
Thanks.
According to this site you are fairly limited with no specific equivalents. Varchar somewhat equals string and integer seems to take the place of bigint. Bit is not mentioned at all. The idea is born out further by this link (click on show source) where you will see the adapter for MySQL maps the data types similar to above. Again, bit is not mentioned.