Giter VIP home page Giter VIP logo

Comments (8)

cn1211 avatar cn1211 commented on August 20, 2024

执行失败提示类型不支持

from gormt.

xxjwxc avatar xxjwxc commented on August 20, 2024

您需要在:https://github.com/xxjwxc/gormt/blob/master/data/view/gtools/def.go
里面添加 tinyint(2) 这个转换。

请pull requests 让它更完善。谢谢。

from gormt.

cn1211 avatar cn1211 commented on August 20, 2024

是在 TypeDicMp 里面加 tinyint(2)的类型吗?

from gormt.

xxjwxc avatar xxjwxc commented on August 20, 2024

好像应该在:TypeMatchMp 中添加一个
^(tinyint)[(]\d+[)]: "int8",

这边实现逻辑是:先精确查找,如果找不到,再模糊匹配。
所以tinyint(n) (n>1)时应该 走模糊匹配。

from gormt.

cn1211 avatar cn1211 commented on August 20, 2024

那就麻烦 大哥更新下源码....

from gormt.

cn1211 avatar cn1211 commented on August 20, 2024

或者我提个合并请求?

from gormt.

xxjwxc avatar xxjwxc commented on August 20, 2024

您提交一个吧。我来合并。

from gormt.

xxjwxc avatar xxjwxc commented on August 20, 2024

或者我提个合并请求?

代码以及重构。请查看:
https://github.com/xxjwxc/gormt/blob/master/data/view/cnf/def.go

from gormt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.