Closed gilfanovrrPaker closed 6 years ago
this works
select * from %s where id='21' or id='81' or id='114.2'
js code
var ids, idsText, mappedIds, sql;
ids = ['21','81','114.2'];
mappedIds = ids.map(function(id) {
return "id='" + id + "'";
});
idsText = mappedIds.join(' or ');
sql = "select * from %s where " + idsText;
Thank you for bug report. I can reproduce it. We will release hot fix soon.
This issue fixed in this commit
Pls check.
checked, working fine, thanks
not working with crush reindexer docker & services
select * from projects where id in('21','81','114.2') limit 10
select * from projects where id in('21','81','11') limit 10
working
select * from projects where id in('21','114.2') limit 10
select * from projects where id in('21','81') limit 10