db-pgsql icon indicating copy to clipboard operation
db-pgsql copied to clipboard

Add refreshMaterializedView command

Open Gerych1984 opened this issue 2 years ago • 2 comments

Q A
Is bugfix?
New feature? ✔️
Breaks BC?

Add new command to refresh PgSql materialized views. I think it can be added in CommandInterface

Gerych1984 avatar Jan 19 '24 13:01 Gerych1984

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (02a2a87) 100.00% compared to head (f07182c) 99.85%. Report is 2 commits behind head on master.

Files Patch % Lines
src/Command.php 95.00% 1 Missing :warning:
Additional details and impacted files
@@              Coverage Diff              @@
##              master     #332      +/-   ##
=============================================
- Coverage     100.00%   99.85%   -0.15%     
- Complexity       241      252      +11     
=============================================
  Files             16       16              
  Lines            694      714      +20     
=============================================
+ Hits             694      713      +19     
- Misses             0        1       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 19 '24 14:01 codecov[bot]

God idea.

  • This method should be added in base yii-db package and should be consistent with other DBMS.
  • The part of generating SQL query shold be in DDLQueryBuilder

I create this PR and i think they must be merged first

Gerych1984 avatar Jan 22 '24 12:01 Gerych1984