code: function(array){
          var fields = this.fields, fieldName, fieldDef;
          if (!array) array = [];
          for (fieldName in fields){
              if (fields.hasOwnProperty(fieldName)){
                  fieldDef = fields[fieldName];
                  array[fieldDef.index] = fieldDef.getter.call(this);
              }
          }
          return array;
      }
docs: Reads the current row and returns the result as a new array.
  This method does not advance the internal row pointer, and does not check if there is a valid row.
  This method exists mainly as a convience in case you want to use a custom way to extract data from the resultset using the
  <code><a href="#method_fetchCustom">fetchCustom()</a></code> method.
  If you just want to obtain the results as arrays, see
  <code><a href="#method_fetchAsArray">fetchAsArray()</a></code>
  and
  <code><a href="#method_fetchAllAsArray">fetchAllAsArray()</a></code>.
  @method readAsArray
  @return {array}