Add ability log database query results to log

Description

It would be helpful to have a way to select from the database and output the results to the log for debugging and other reasons. Perhaps use a "query" attribute on the "output" command.

A nicely formatted table output would be helpful as well.

Environment

All

Activity

Show:

Misha Safonov June 21, 2021 at 8:45 PM

Any plans for that?

Mathew Kline May 21, 2019 at 9:44 PM

Following up on this JIRA. Has anything been done around this? Would be really helpful to have the ability to get the results of the commands being run, e.g., number of rows inserted, updated, deleted; a result set for aggregate-type queries (count, sum, min, max, etc.).

I've been scouring the internet for solutions on how to code this myself (have been looking through the source code) but have not found a good solution. I'm using Spring Boot 2.0.5 and Liquibase 3.5.5.

Will Marcouiller September 8, 2017 at 5:22 PM

Is this fix scheduled for anytime soon?

If I wanted to fix this, where would you recommend to start looking for a soltution, please tell me?

Nathan Voxland December 9, 2014 at 9:37 PM

The ability to see the output of any executed SQL can be helpful as well.

Details

Reporter

Fix versions

Affects versions

Priority

Created December 8, 2014 at 3:12 PM
Updated June 21, 2021 at 8:45 PM