首页 > 解决方案 > 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?

标签: c#google-drive-api

解决方案


Google Drive 是一个文件存储系统。您可以上传、下载、列出和更新文件的元数据。它无权编辑内容文件本身。所以你需要上传和下载文件。

Google Docs api 能够编辑 google doc 文件,但我会质疑 google doc 文件中 xml 的格式会发生什么。

google sheet api 让您可以编辑 google sheet 文档,我见过人们使用它作为 csv 文件来存储数据。

TBH 你使用了错误的工具来完成这项工作。有许多基于云的数据库解决方案。如果您想坚持使用 google 技术,请查看 firebase。MySql 以及我在 C# 中都使用过的 postgresql 也是免费的


推荐阅读