mysql – SailsJS – 如何在创建记录时指定字符串属性长度而不会出错?

mysql – SailsJS – 如何在创建记录时指定字符串属性长度而不会出错?

我正在使用Sails 0.9.8与MySQL配对,并希望做这样的事情localhost:1337/player/view/username of player 代替localhost:1337/player/view/id of player 所以我在模型中加入了这样的东西:username : { typ

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部