Google apps script 使用Google Apps脚本如何仅从ScriptDb检索具有属性/密钥的对象
是否可以查询ScriptDb以仅返回那些拥有特定属性/键的对象Google apps script 使用Google Apps脚本如何仅从ScriptDb检索具有属性/密钥的对象,google-apps-script,Google Apps Script,是否可以查询ScriptDb以仅返回那些拥有特定属性/键的对象 results = db.query({key: db.not(null)}); // always triggers error "We're sorry, a server error occurred. Please wait a bit and try again." results = db.query({key: db.not(undefined)}); // returns all objects in the dat
results = db.query({key: db.not(null)}); // always triggers error "We're sorry, a server error occurred. Please wait a bit and try again."
results = db.query({key: db.not(undefined)}); // returns all objects in the database
反之亦然:
results = db.query({key: undefined});
results = db.query({key: null}); // both these cause an error on any of the ScriptDbResult methods "Your query object contains an invalid component."
有什么想法吗?results=db.query{key:db.anyValue};当然-错过了!ScriptDB已被弃用。相关的