Difference between revisions of "Data 1 0-queryToCSV"
From ADF Docs
| Line 5: | Line 5: | ||
public string <strong>queryToCSV</strong> ( query data, string headers, string cols ) | public string <strong>queryToCSV</strong> ( query data, string headers, string cols ) | ||
| − | == Parameters == | + | == Parameters == |
| − | + | <table id="lib-params"> | |
| + | <tr class="header"> | ||
| + | <td>Required</td> | ||
| + | <td>Name</td> | ||
| + | <td>Type</td> | ||
| + | <td>Description</td> | ||
| + | </tr> | ||
| + | |||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td class="required">required</td> | ||
| + | |||
| + | <td>data</td> | ||
| + | <td>query</td> | ||
| + | <td>The Query to be converted</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td>optional</td> | ||
| + | |||
| + | <td class="required">optional</td> | ||
| + | |||
| + | <td>headers</td> | ||
| + | <td>string</td> | ||
| + | <td>[Default: ] A comma separated list of strings to be used as column headers</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td>optional</td> | ||
| + | |||
| + | <td> </td> | ||
| + | |||
| + | <td>cols</td> | ||
| + | <td>string</td> | ||
| + | <td>[Default: ] A comma separated list of column names from query to be converted</td> | ||
| + | </tr> | ||
| + | |||
| + | </table> | ||
Revision as of 03:40, 24 March 2010
Description
Converts a CF Query into a CSV string
Signature
public string queryToCSV ( query data, string headers, string cols )
Parameters
| Required | Name | Type | Description | |
| required | data | query | The Query to be converted | |
| optional | optional | headers | string | [Default: ] A comma separated list of strings to be used as column headers |
| optional | cols | string | [Default: ] A comma separated list of column names from query to be converted |