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

generate part of relation tables will fail #349

Open
Diluka opened this issue May 11, 2022 · 3 comments
Open

generate part of relation tables will fail #349

Diluka opened this issue May 11, 2022 · 3 comments
Labels

Comments

@Diluka
Copy link

Diluka commented May 11, 2022

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.

@stale
Copy link

stale bot commented Jul 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 10, 2022
@Diluka
Copy link
Author

Diluka commented Jul 11, 2022

any updates?

@stale stale bot removed the stale label Jul 11, 2022
@stale
Copy link

stale bot commented Sep 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant