[英]Node-webkit with orm
I'm working on desktop application using node-webkit. 我正在使用node-webkit开发桌面应用程序。 I would like to use database in my application.
我想在我的应用程序中使用数据库。 I know that I can use WebSQL and probably also Sqlite, but I would like to add some orm to simplify my work.
我知道我可以使用WebSQL,也可以使用Sqlite,但是我想添加一些orm来简化我的工作。 I tried with sequelize but I have some problems with it.
我尝试过sequelize,但是我有一些问题。 Do you know any examples for node-webkit + any orm library?
您知道node-webkit +任何orm库的任何示例吗?
In Node-WebKit you can you use modules written totally in JavaScript. 在Node-WebKit中,您可以使用完全用JavaScript编写的模块。 For modules containing C/C++ you should build the addons by node-gyp because the ABI (application binary interface) of node-webkit differs from Node's ABI.
对于包含C / C ++的模块,您应该通过node-gyp构建插件,因为node-webkit的ABI(应用程序二进制接口)与Node的ABI不同。
Try smth like sequelize-sqlite that JavaScript 100% or find other modules in npm go to it GitHub repository and under row commits, branch, releases & contributor click coloured row "Show language statistic". 尝试使用类似于sequelize-sqlite的 smth,它使用JavaScript 100%或在npm中找到其他模块转到GitHub存储库,并在行提交,分支,发布和贡献者下单击彩色行“显示语言统计”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.