kurotych / kurotych/sqlant

Add index support

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Rust
Stars
34
Forks
4
PR merge metrics
No merged PRs in 30d

Description

If columns aren't PK but have Index we can show it.
SQL query is ready
https://github.com/kurotych/sqlant/blob/main/src/psql_erd_loader.rs#L56

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/psql_erd_loader.rs at line 56 and inspect the referenced SQL query. Trace how primary-key columns are loaded and represented in the generated ER diagram. Done means indexed columns that are not primary keys are included in the PlantUML or Mermaid output.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, rust, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.