Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让 NDB api 在不使缓存失效的情况下写入数据库?这样,人们从缓存中读取直到超时到期,而不是在写入一些新数据时。
是的,将 use_memcache=False 传递给 put() 操作:
ent.put(use_memcache=False)