php-reports icon indicating copy to clipboard operation
php-reports copied to clipboard

Connect to multiple Databases

Open nehemiekoffi opened this issue 7 years ago • 1 comments

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 ?

nehemiekoffi avatar Apr 08 '18 08:04 nehemiekoffi

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"
-- }

bradstw avatar Nov 05 '19 21:11 bradstw