Create entity using datastore viewer Google App Engine

前端 未结 2 727
攒了一身酷
攒了一身酷 2021-01-13 08:20

I would like to create an entity in my datastore from the admin console on google app engine.

To do this, I read I must clicked on the tab \"create\" in the datastor

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 09:01

    App Engine will only let you create new entities for a Kind that has already been defined. If you haven't ever saved anything to the datastore, your datastore is a blank slate, and you won't be able to query or create in it.

    If you don't want to deploy code in order to write your first entities to the datastore, you can enable the interactive console in production, and write code that generates a model, populates, and saves it. Once you've done that, your Create link should appear.

提交回复
热议问题