Skip to content

Visualize database views and materialized views - #53

Open
zamax14 wants to merge 2 commits into
developfrom
issue-6-views
Open

zamax14 wants to merge 2 commits into
developfrom
issue-6-views

Conversation

@zamax14

@zamax14 zamax14 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Detects view and materialized-view tables from SQLAlchemy info metadata or mapped class flags.
  • Adds include_views and --no-views to control whether marked views are rendered.
  • Renders view cards with a distinct dashed style and VIEW/MV badge in HTML and SVG.

Tests

  • .venv/bin/python -m pytest tests/test_introspect.py tests/test_html_renderer.py tests/test_renderer.py
  • .venv/bin/python -m pytest

Documentation

  • TODO: documentation is intentionally deferred to a follow-up issue so these functional issue PRs do not conflict with each other while being reviewed.

@zamax14
zamax14 marked this pull request as ready for review June 29, 2026 08:14
@zamax14
zamax14 requested a review from JoseVelazcoH June 29, 2026 08:14
@zamax14 zamax14 self-assigned this Jun 29, 2026
@zamax14 zamax14 linked an issue Jun 29, 2026 that may be closed by this pull request
@zamax14
zamax14 marked this pull request as draft June 29, 2026 08:18
@zamax14
zamax14 marked this pull request as ready for review June 29, 2026 08:21
# Conflicts:
#	tests/conftest.py
#	tests/test_introspect.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this file from the track

@JoseVelazcoH JoseVelazcoH left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflicts must be resolved

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

Successfully merging this pull request may close these issues.

Visualize database views and materialized views

2 participants