Giter Site home page Giter Site logo

mmzp / sql-parser Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 5.0 126 KB

解析 mysql create table 语句,用于通过建表语句生成 model 代码文件。

License: Apache License 2.0

Nearley 17.82% JavaScript 78.78% HTML 3.40%
browser mysql nearley nodejs sql-parser

sql-parser's People

Contributors

mmzp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sql-parser's Issues

性能好像有点问题

create table test
(
    id              bigint unsigned auto_increment comment '',
    name      varchar(150)    default ''   not null comment '',
    name_en   varchar(150)    default ''   not null comment '',
    id2        bigint unsigned default 0    not null comment '',
    name2      varchar(150)    default ''   not null comment '',
    star      tinyint(2)      default 0    not null comment ''
);

这么短一段sql,要7 8秒才能直接完,再多加几个字段直接卡死了

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.