Skip to content

Misuse of “relation” instead of “relationship” in ER diagram section title #736

@shogo82148

Description

@shogo82148

It seems that the documents generated by tbls confuse the terms "relation" and "relationship".

Terminology

In SQL terminology, a “table” corresponds to a "relation" in relational database terminology.

In a relational database, a relation is a set of tuples that have the same attributes.

https://en.wikipedia.org/wiki/Relational_database

"Relationships" are a logical connection between different tables.

Relationships are a logical connection between different tables (entities), established on the basis of interaction among these tables.

https://en.wikipedia.org/wiki/Relational_database

Current behavior

For example, tbls generates ER-diagram in a section titled "relations".

Image

Expected behavior

the section title should be "relationship" instead of "relation".
because ER-diagram stands for Entity-Relationship diagram, not Entity-Relation diagram.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions