Skip to content

Handling database credentials #5882

Closed Answered by pacmano1
rjkroll asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/pacmano1/Mirth-Snippets/blob/main/executeSharedDBStatement.js

However we always use db readers in JS mode. Also, that does a single shared connection in $g, you can certainly modify that as you see fit for more "pooled" connections. There are other solutions of course.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rjkroll
Comment options

You must be logged in to vote
1 reply
@pacmano1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants