c# - Is it possible to put SQLite file in Google Drive and use Google Drive API to update its data?
问题描述
I want to use Google Drive as a SQL server. Can Google Drive API update data in SQLite files without having to downloading and uploading them? What about XML files? Can Google Drive API update data in XML files without having to downloading and uploading them?
解决方案
Google Drive 是一个文件存储系统。您可以上传、下载、列出和更新文件的元数据。它无权编辑内容文件本身。所以你需要上传和下载文件。
Google Docs api 能够编辑 google doc 文件,但我会质疑 google doc 文件中 xml 的格式会发生什么。
google sheet api 让您可以编辑 google sheet 文档,我见过人们使用它作为 csv 文件来存储数据。
TBH 你使用了错误的工具来完成这项工作。有许多基于云的数据库解决方案。如果您想坚持使用 google 技术,请查看 firebase。MySql 以及我在 C# 中都使用过的 postgresql 也是免费的
推荐阅读
- flash - 透明度变成蓝色,闪光
- json - Wordpress API:如何在 VueJS 中按 ID 获取类别名称?
- python - 从子节点之后的 XML 节点中提取文本
- recursion - 为什么我不能在循环内使用 (if (last acc) acc) 作为参数之一?
- html - 如何在这个 HTML 页面中居中这 4 个按钮?
- ms-access - 在 ACCESS vba SQL 中找不到类型不匹配错误
- oracle - 如何在 Update 语句中循环?
- c++ - Classsname instance[count]; 有什么区别?和 C++ 中的 Classname instance = new instance[count]?
- java - 创建流
来自流 - julia - 朱莉娅在特殊情况下做了什么?