如何将SQLite与AngularJS集成? [英] How to integrate SQLite with AngularJS?

查看:180
本文介绍了如何将SQLite与AngularJS集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google Maps api v3和一个名为ng-map的插件来做angularjs应用.但是我想在SQLite数据库中存储一些坐标,然后从应用程序中检索.

I'm doing an angularjs app using google maps api v3 and a plugin called ng-map. But I want to store some coordinates in a SQLite database and then retrieve from the app.

推荐答案

基本上,您不能. 但是,如果您要开发混合移动应用程序,则可以使用SQLite cordova插件.

Basically, you can not. But you can use a SQLite cordova plugin if you are developing a hybrid mobile application.

http://ngcordova.com/docs/plugins/sqlite/是其中之一最好的Cordovajs SQLite插件.

http://ngcordova.com/docs/plugins/sqlite/ is one of the best SQLite plugins for cordovajs.

这篇关于如何将SQLite与AngularJS集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆