Skip to content

Commit

Permalink
Added a README note about table highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
makaroni4 committed Oct 8, 2024
1 parent de93783 commit 0e91962
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ Originally built for [the SQL Habit course](https://www.sqlhabit.com/), it's ava
<br>
:rocket: **Make it yours**: you get the whole React app, so you can change everything.

### Highlight specific tables and columns via a URL param

You can highlight tables and columns via the `highlights` URL param. Here's an example URL:

https://sqlhabit.github.io/sql_schema_visualizer/?highlights=users:id,email,signup_date;purchases:user_id,created_at

:mag: Note that tables are followed by semicolons `:` and column names are separated with commas `,`. Here's how it looks like:

![Table and column snapshots](https://raw.githubusercontent.com/sqlhabit/sql_schema_visualizer/main/docs/table_highlights.png)

## How to visualize your schema(s)

Schema Visualizer can visualize multiple schemas – each schema will have its own URL.
Expand Down
Binary file added docs/table_highlights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e91962

Please sign in to comment.