Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to multiple Databases #264

Open
nehemiekoffi opened this issue Apr 8, 2018 · 1 comment
Open

Connect to multiple Databases #264

nehemiekoffi opened this issue Apr 8, 2018 · 1 comment

Comments

@nehemiekoffi
Copy link

Hello team, Your work is very Helpful.
I wish to be able to add other conection_string in order to query others database. Is it possible ?

@bradstw
Copy link

bradstw commented Nov 5, 2019

Yes you can. It is covered here in the documentation.
http://jdorn.github.io/php-reports/#EnvironmentsandDatabases
Once you have specified your environments, you can use them in your reports with the OPTIONS: header filter

-- Operations per day
-- Operations per day grouped by operation type
-- OPTIONS: {
--      database: "ado"
-- }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants