Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是想知道在使用 DataMapper 时我应该声明的相应数据类型是什么。
MySQL 中的类型
谁能告诉我DataMapper中对应的类型?
谢谢。
根据这个网站,你是相当有限的,没有特定的等价物。Varchar 在某种程度上等于字符串,而整数似乎取代了 bigint。比特根本没有提到。通过此链接(单击显示源)进一步体现了这个想法,您将在其中看到 MySQL 的适配器映射类似于上面的数据类型。同样,比特没有被提及。