add method : resultArray

I write a method named resultArray, just to return the query results as a array.
I think it will be usefull.