Local development with cloud-spanner

前端 未结 4 2103
北海茫月
北海茫月 2021-02-18 16:45

Is there any way to do local development with cloud spanner? I\'ve taken a look through the docs and the CLI tool and there doesn\'t seem to be anything there. Alternatively, ca

4条回答
  •  既然无缘
    2021-02-18 17:04

    There is now an emulator offered from Google for local development. As of 5/2020, it's in beta.

    https://cloud.google.com/spanner/docs/emulator

    It only stores data in memory, but you may be able to use the gcloud command line to backup and restore your development data to and from disk as needed.

    https://cloud.google.com/spanner/docs/backup/gcloud

提交回复
热议问题