7 Commits

Author SHA1 Message Date
Rufus Pollock
5d24fd474d [csv,bugfix][s]: fix to csv backend to correct issue with header row appearing in data in case where fields passed explicitly.
* The bug was triggered by change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if explicitly provided
  * model.test.js illustrated issue (that new test was failing prior to changes to csv backend in this commit)
* Issue was that CSV backend did not pass back fields option. Previously, if no fields provided from backend we extracted fields from first row of the returned records. With change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if provided we had an issue as we no longer removed first row for fields.
* Fixed by having CSV backend explicitly extract fields and pass them back
2013-06-15 12:12:15 +01:00
Rufus Pollock
9948c501cf [#190,backend/csv][s]: rename CSV options from delimiter to quotechar and separator to delimiter - fixes #190. 2012-09-09 15:20:37 +01:00
Rufus Pollock
6e49f53a63 [#185,backend/csv][s]: add support for dataset-style objects to serializeCSV method - fixes #185. 2012-09-09 15:11:54 +01:00
Mike Morris
f7e79e08fd fixing serializeCSV to pass test 2012-07-14 20:54:06 -04:00
Mike Morris
11e1a17d6a adding serializeCSV function and test 2012-07-14 20:30:50 -04:00
Rufus Pollock
a58f5e5bb0 [#174,refactor][s]: rename currentRecords to records on Dataset. 2012-07-05 15:37:17 +01:00
Rufus Pollock
340fedde0d [refactor][s]: get rid of backend subdirectory and instead have prefix backend when naming files. 2012-06-26 20:38:28 +01:00