Google Realtime API - creating and removing shortcut file in Google Drive

我与影子孤独终老i 提交于 2019-12-24 20:01:00

问题


Looking at Realtime API quickstart example, a shortcut file is used to store realtime document model. I'm assuming that this is a file that holds realtime document model state.

Question: do I need to create and clean up this shortcut file for each collaboration session?

Note: Eventually I want to persist data to my database, not Google Drive.


回答1:


From an API perspective, the realtime documents are designed to be persistent storage. The files are long lived, and there is there is no need to ever recreate them or store data elsewhere.

If you want to copy data elsewhere, how and when to do that sounds like a design decision you need to make given whatever makes sense for your app.



来源:https://stackoverflow.com/questions/17579739/google-realtime-api-creating-and-removing-shortcut-file-in-google-drive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!