I try to append an array element inside another array dynamically(by query result) as follows.But the element does not append in the array. What is the proper way to append an array inside another array?
var content:Array[Array[String]]=Array(Array())
content(0)=Array("h1","h2","h3","h4","h5","h6","h7","h8","h9")
val myResult = for(ts <- myQueryList) yield (
content+:Array(e1,e2,e3,e4,e5,e6,e7,e8,e9)
)