aliyun / aliyun-tablestore-nodejs-sdk

Aliyun TableStore(原OTS) SDK for Node.js
Apache License 2.0
88 stars 33 forks source link

bug #16

Open zyyc5 opened 6 years ago

zyyc5 commented 6 years ago

encoder.js 347行 for (sub in condition.sub_conditions) { var subFilter = {}; TableStore.encoder._makeColumnCondition(subFilter, condition.sub_conditions[sub]); proto.sub_filters.push(subFilter); } 如果我在 Array.prototype 上加过一些自定义方法,那么,上面的代码会遍历到我的方法并报错,array上加方法应该是很常见的操作,希望上面的代码能考虑的更严谨

wenwuwu commented 4 years ago

路人。Array 上加方法不是很常见的操作。我不认为是最佳实践。