Difference between revisions of "Data 1 0-queryToCSV"
From ADF Docs
(Description) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
+ | Attention: Do not change any text in the description, signature, and paramter sections. | ||
− | Description | + | Return to [[Data_1_0]] |
+ | |||
+ | == Description == | ||
+ | Converts a CF Query into a CSV string | ||
+ | |||
+ | == Signature == | ||
+ | public string <strong>queryToCSV</strong> ( query data, string headers, string cols ) | ||
+ | |||
+ | == 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 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> </td> | ||
+ | |||
+ | <td>cols</td> | ||
+ | <td>string</td> | ||
+ | <td>[Default: ] A comma separated list of column names from query to be converted</td> | ||
+ | </tr> | ||
+ | |||
+ | </table> |
Latest revision as of 12:46, 9 April 2010
Attention: Do not change any text in the description, signature, and paramter sections.
Return to Data_1_0
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 | headers | string | [Default: ] A comma separated list of strings to be used as column headers |
cols | string | [Default: ] A comma separated list of column names from query to be converted |