Below is the code snippet :
queryTree = SC.Query.local('Tree.Category',
"categoryId = {categoryId}", {
categoryId: this.get('guid'),
orderBy: "name ASC"
});
queryNote = SC.Query.local('Tree.Note',
"categoryId = {categoryId}", {
categoryId: this.get('guid'),
orderBy: "name ASC"
});
var arrayCategory = Tree.store.find(queryTree);
var arrayNote = Tree.store.find(queryNote);
//Combine arrayCategory and arrayNote
I am trying to create a new array of records by merging the data from arrayCategory and arrayNote. I checked the documentation, but I couldn't find a direct concatenate function for this purpose.