使用Google App制造商访问Google云端硬盘表中的数据 [英] Accessing data in Google Drive tables with Google App maker

查看:82
本文介绍了使用Google App制造商访问Google云端硬盘表中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问Google云端硬盘表中包含的数据?

How can I access the data contained in Google drive tables?

阅读这些教程后,我创建了一些基本应用程序,但是看不到我输入的示例数据.

I created some basic apps after reading the tutorials, but I'm unable to to see the sample data I entered.

推荐答案

选项1:不要使用驱动器表

App Maker,您可以连接到 Cloud SQL实例,通过 Cloud Shell 进行访问,或使用诸如 MySQL Workbench .

App Maker gives you power to connect to Cloud SQL instance, that you can access through Cloud Shell or connect with some tools like MySQL Workbench.

专业人士

  • 如果您有自己的Cloud SQL实例,效果很好

缺点

  • 在具有共享Cloud SQL实例的环境中,这种方法不足
  • Cloud SQL不是免费的

选项2:将数据导出到电子表格

Option 2: Export data to spreadsheet

无论您使用什么后端数据,都可以将所有数据转储到电子表格中.

Regardless what data backend you are using you can dump all your data to spreadsheet.

缺点

  • 基本上,它是单向数据访问(只读),除非您想将已编辑的数据导入回您的deployemnt ...

选项3:拖放方式

有一个选项可以保留 Debug 页面,并在其中放置要查找的模型的表/表格.

There is an option to keep Debug page and drop on it tables/forms for models you want to look it.

专业人士

  • 直接从您的开发环境(浏览器)无缝访问数据.

缺点

  • 很难维护这样的 Debug ,尤其是当您正在积极处理数据库结构时.
  • 需要考虑安全性并向最终用户隐藏页面.
  • 需要为调试表/表单保留专用的数据源,这些数据源不应应用任何过滤器(此时,没有app.models.MyModel.newQuery()服务器端API的客户端类似物).
  • It is hard to maintain such Debug especially when you are actively working on your database structure.
  • Need to think about security and hide the page from your end users.
  • Need to keep dedicated datasource(s) for the debug tables/forms, that should have no filters applied (at this time there is no client-side analogue of app.models.MyModel.newQuery() server-side API).

选项4:拖放方式(高级版!)

Option 4: Drag'n'drop way (advanced edition!)

基本思想是创建一个包含动态表(以查看/编辑数据)和表单(以添加记录)的页面.使用此高度动态的页面将消除选项#3中的不足#1:

The basic idea is to create a page with dynamic table (to view/edit data) and form (to add records). Using this highly dynamic page will eliminate shortage #1 from the option #3:

这种方法的利弊与前一种类似,并且有一些App Maker局限性使其难以实施(但在某种程度上是可行的).

This approach has similar pros and cons as previous one plus there are some App Maker limitations that make it hard to implement (but it is doable on some extent).

这篇关于使用Google App制造商访问Google云端硬盘表中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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