使用HTML 5 Web SQL数据库时,数据存储在哪里? [英] Where is data stored when using an HTML 5 Web SQL Database

查看:820
本文介绍了使用HTML 5 Web SQL数据库时,数据存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚读了一些关于HTML 5 Web SQL数据库的内容。我在这里做了一点搜索和谷歌,但找不到一个简单的答案。



有人可以告诉我,使用它时存储的数据在哪里?在内存或文本文件或其他什么?



还有什么浏览器支持这个? / div>

它存储在SQLite数据库中。 此处是我找到的浏览器支持图表:



<也就是说,W3C已经正式放弃了对WebSQL的支持,转而支持IndexedDB。 以下是的等效图表:

您也可以想要查看 DataJS ,它是一个抽象本地存储的一些细节并可跨浏览器工作的库:



希望有帮助。


I just read something about HTML 5 Web SQL Databases. I did a little search on here and Google but couldn't find a simple to the point answer.

Can someone tell me, where is the data stored when using this? In memory or a text file or something else?

Also what browsers support this?

解决方案

It's stored in a SQLite database. Here is a browser support chart I found: .

That said, the W3C has officially dropped support for WebSQL in favor of IndexedDB. Here's the equivalent chart for that:

You may also want to look at DataJS, which is a library that abstracts some of the details of local storage and works across browsers:

Hope that helps.

这篇关于使用HTML 5 Web SQL数据库时,数据存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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