【问题标题】:GAE - access model metadataGAE - 访问模型元数据
【发布时间】:2012-08-03 06:56:31
【问题描述】:

this stackoverflow answer,我知道我可以从我的数据库中获取一条记录,甚至不知道它的模型,我只需要密钥。如果可行,我该如何访问模型元数据以便找出它的种类?

更新 - 来自提供的答案

record_kind = record.kind()
#talk about being intuitive..... and thick

【问题讨论】:

    标签: python google-app-engine google-cloud-datastore


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-12
    • 1970-01-01
    • 2019-07-25
    • 1970-01-01
    • 1970-01-01
    • 2022-01-15
    相关资源
    最近更新 更多