$db
$db : object
Database object
Oracle Utility Class
csv_from_result(object $query, string $delim = ',', string $newline = "\n", string $enclosure = '"') : string
Generate CSV from a query result object
object | $query | Query result object |
string | $delim | Delimiter (default: ,) |
string | $newline | Newline character (default: \n) |
string | $enclosure | Enclosure (default: ") |