简体   繁体   English

是否可以通过NativeScript使用Sqlite数据库?

[英]Is it possible to use an Sqlite database using NativeScript?

I wanted to build an application using NativeScript but i did not find if it's possible to use an sqlite database. 我想使用NativeScript构建应用程序,但是我没有发现是否可以使用sqlite数据库。 Thanks for answering. 谢谢回答。

I'm actually working on a sqlite wrapper (at least the Android side currently). 我实际上是在使用sqlite包装器(目前至少在Android方面)。 If you are interested in testing or using; 如果您对测试或使用感兴趣; the repository will be http://github.com/nathanaela/nativescript-sqlite when I publish it. 发布该存储库时,该存储库将为http://github.com/nathanaela/nativescript-sqlite I hope to have it working soon. 我希望它能尽快工作。 I will need the apple side also; 我也需要苹果面。 so that module will be done once I have the android side working. 这样我就可以在Android端正常工作了。

Update: iOS and Android sides are fully working. 更新:iOS和Android方面都可以正常使用。 Docs on the github or npmjs.org site explain installation. github或npmjs.org站点上的文档说明了安装。

In the meantime this might work - https://github.com/kripken/sql.js/ 同时,这可能有效-https://github.com/kripken/sql.js/

It's a copy of sqlite compiled to javascript with emscripten. 它是使用emscripten编译为javascript的sqlite的副本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Javascript项目在nativescript-sidekick中使用预填充的sqlite数据库 - How to use pre-populated sqlite database in nativescript-sidekick using Javascript project 是否可以在 nativescript 项目中一起使用 typescript 和 javscript - is it possible to use typescript and javscript together in a nativescript project 是否可以使用Javascript打开Sqlite数据库而不使用除HTML5之外的任何东西? - Is it possible to open an Sqlite database with Javascript and not using anything but HTML5? 是否可以在Javascript中附加sqlite数据库? - Is it possible to attach an sqlite database in Javascript? 是否可以使用源映射通过NativeScript生成可用的堆栈跟踪(例如Crashlytics) - Is it possible to use source maps to generate a usable stacktrace (with Crashlytics for example) with NativeScript expo sqlite 使用现有数据库 - expo sqlite use existing database 是否可以使用php和javascript访问相同的sqlite数据库? - Is it possible to access the same sqlite database with php and javascript? 是否可以从 JavaScript 访问 SQLite 数据库? - Is it possible to access an SQLite database from JavaScript? 如何以csv或其他格式从nativescript中导出和导入所选表或从sqlite数据库中完成数据库 - how to export and import selected tables or complete DB from sqlite database in nativescript in csv or some other format 如何在NativeScript中使用核心JS导入和使用模块 - How do I import and use module using core JS in NativeScript
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM