0
我有一個使用smartsheet庫函數的node.js腳本。搜索除了不會返回完全匹配外,即使搜索字符串中有幾個與smartsheet匹配的字符,也會返回所有這些行。你如何用精確匹配進行搜索?smartsheet api在搜索過程中的精確匹配
var options = {
sheetId: xxxxxxxxxxx,
queryParameters: {
query: <string to search>
}
};
// Search sheet.
smartsheet.search.searchSheet(options)
.then(function (data) {
console.log(data);
}
所以,如果我用「測試」作爲搜索字符串其返回結果,其中1個或多個字符與像「TES」「測試」是一個匹配,則返回那些行..搜索