1

I want to monitor newly added data inside database table using Liquibase. I have found out that we can do Create, Insert, update, delete, rollback types of operations on table but I not sure whether we can perform read operation to see actual data.

Harsh
  • 47
  • 2
  • 9

1 Answers1

1

Yes and no.

Liquibase doesn't provide any <read> changes. However, you can always use <sql> change and do the following (in fact you may put any native SQL inside this tag):

<sql> SELECT * FROM users </sql>

This gives you the ability to read the actual data in your database, but I'm not sure why would you need to just read the data.

Perhaps, you'd want to use the diff command. Here's the documentation on it.

htshame
  • 6,599
  • 5
  • 36
  • 56