3
使用NDB文档类型的主叫Subscribe
时,在开发应用程序服务器甲同事越来越预期搜索是否支持ndb.model?
DocumentTypeError: Document type is not supported.
。
是ndb和预期搜索兼容?
使用NDB文档类型的主叫Subscribe
时,在开发应用程序服务器甲同事越来越预期搜索是否支持ndb.model?
DocumentTypeError: Document type is not supported.
。
是ndb和预期搜索兼容?
是,NDB和预期搜索是兼容的,但你需要使用prospective_search为NDB:
from google.appengine.ext.ndb import prospective_search
有关错误,从源头:
get_document() Raises DocumentTypeError: if document class is not recognized.
http://appengine-ndb-experiment.googlecode.com/hg/ndb/prospective_search.py