Skip to content

Commit

Permalink
Update DBReadertoCSV.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pacmano1 authored Mar 10, 2024
1 parent 8bc3309 commit 630cb84
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions DBReadertoCSV.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,34 @@
// Notes: Assumes you have aggregate results set to yes on the DB reader
// Do not use an outbound template with this solution.
// Code courtesy of Tony Germano and Jon Bartels, original forum thread: https://forums.mirthproject.io/forum/mirth-connect/support/16869-
/*
_____ _ _
|_ _| |__ __ _ _ __ | | _____
| | | '_ \ / _` | '_ \| |/ / __|
| | | | | | (_| | | | | <\__ \
|_| |_| |_|\__,_|_| |_|_|\_\___/
_____
|_ _|__ _ __ _ _
| |/ _ \| '_ \| | | |
| | (_) | | | | |_| |
|_|\___/|_| |_|\__, |
|___/
_
__ _ _ __ __| |
/ _` | '_ \ / _` |
| (_| | | | | (_| |
\__,_|_| |_|\__,_|
_
| | ___ _ __
_ | |/ _ \| '_ \
| |_| | (_) | | | |
\___/ \___/|_| |_|
*/

// Set the root element name to 'delimited' (optional but mentioned)
msg.setName('delimited');

Expand Down

0 comments on commit 630cb84

Please sign in to comment.