Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

generate part of relation tables will fail #349

@Diluka

Description

@Diluka

for example, two tables have relations, Table A and Table B. using --tables option to generate only one of them will fail.

and I modified the files where the error raised in node_modules adding if clause to skip undefined relations, it will generate files.


Many thanks to the author for writing this library. This library is very handy when used for edge computing. I have a database with many tables and relationships. The main project does not use TypeORM, and its ORM is very unfriendly to the writing of join table queries. And TypeORM is very good at writing various join table queries. This library is helpful when I need to write a standalone computing tool to read and write to very few of these tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions