UNPKG

aliyun-tablestore-nodejs-sdk

Version:
15 lines (13 loc) 361 B
const client = require('./client'); let params = { tableName: tableName, indexName: indexName, timeToLive: 8000000, } client.updateSearchIndex(params, function (err, data) { if (err) { console.log('updateSearchIndex error:', err.toString()); } else { console.log('updateSearchIndex success:', data); } });