Builder/Provider/Database/generate.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 4 Aug 2010 15:40:13 +0000 (23:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 4 Aug 2010 15:40:13 +0000 (23:40 +0800)
Builder/Provider/Database/generate.js

index df85ed7..c60425e 100644 (file)
@@ -57,7 +57,7 @@ Gda.DataSelect.prototype.fetchAll = function()
     for (var i =0;i < this.get_n_columns(); i++) {
         cols.push(this.get_column_name(i));
     }
-    //console.dump(cols);
+    print(JSON.stringify(cols, null,4));
     var iter = this.create_iter();
     var res = [];
     while (iter.move_next()) {