Answer the question
In order to leave comments, you need to log in
How can I change this code (Review)?
The main task is to write an SQL query in sqlite to get movies and
all related entities, transform the data and load them into
the movies index in Elasticsearch.
Answer the question
In order to leave comments, you need to log in
for (var i=0; i<arr1.length; i++) {
for (var j=0; j<arr2.length; j++) {
if (arr1[i].id == arr2[j].id_user) {
arr1[i].sport = arr2[j].sport;
break;
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question