Skip to content

Commit 0e91962

Browse files
committed
Added a README note about table highlights
1 parent de93783 commit 0e91962

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ Originally built for [the SQL Habit course](https://www.sqlhabit.com/), it's ava
2525
<br>
2626
:rocket: **Make it yours**: you get the whole React app, so you can change everything.
2727

28+
### Highlight specific tables and columns via a URL param
29+
30+
You can highlight tables and columns via the `highlights` URL param. Here's an example URL:
31+
32+
https://sqlhabit.github.io/sql_schema_visualizer/?highlights=users:id,email,signup_date;purchases:user_id,created_at
33+
34+
:mag: Note that tables are followed by semicolons `:` and column names are separated with commas `,`. Here's how it looks like:
35+
36+
![Table and column snapshots](https://raw.githubusercontent.com/sqlhabit/sql_schema_visualizer/main/docs/table_highlights.png)
37+
2838
## How to visualize your schema(s)
2939

3040
Schema Visualizer can visualize multiple schemas – each schema will have its own URL.

docs/table_highlights.png

190 KB
Loading

0 commit comments

Comments
 (0)