GithubHelp home page GithubHelp logo

zouwei / onela Goto Github PK

View Code? Open in Web Editor NEW
58.0 9.0 12.0 222 KB

Onela is an open source object relational mapping framework based on node.js(Onela是一个基于node.js的开源对象关系映射框架)

License: GNU General Public License v2.0

JavaScript 100.00%
mysql onela orm orm-framework database sql postgresql postgre mysql-database sqlite

onela's Issues

oParameters.js bug

getDeleteParameters

默认operator 没有加,导致where条件为空,整张表清空。。

if (!paras.keyword[i].hasOwnProperty('operator')) {
paras.keyword[i].operator = "=";
}

使用ES2015规范

记得按照ES2015规范修改demo(尤其是var替换成const)。

insert 默认字段问题

insert默认字段加了 created_time 、update_time、vali等字段,建议自己留给业务方去封装,业务方有可能没有这些字段。。

update delete等操作应该也有这个问题

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.