Coder Social home page Coder Social logo

如何获取约束 about easycode HOT 4 CLOSED

makejavas avatar makejavas commented on June 24, 2024
如何获取约束

from easycode.

Comments (4)

anjia0532 avatar anjia0532 commented on June 24, 2024

经测试,发现只是debug报错,实际是可以用的,
$tableInfo.obj.getColumnAttrs($column.obj) -> [INDEX]

  enum Attribute {
    PRIMARY_KEY,
    CANDIDATE_KEY,
    FOREIGN_KEY,
    INDEX,
    AUTO_GENERATED,
    COMPUTED,
    VERSION
  }

from easycode.

makejavas avatar makejavas commented on June 24, 2024

因为$tool.debug是通过反射实现的,反射某些特殊对象时可能会发生异常。

from easycode.

makejavas avatar makejavas commented on June 24, 2024

也许你需要这个工具

from easycode.

anjia0532 avatar anjia0532 commented on June 24, 2024

嗯嗯,多谢大佬的回复。已经基于easycode编写了适合团队内部使用的代码生成器,很方便。非常感谢。

from easycode.

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.