Ask Your Question
1

Is it possible to retrieve an @Entity type from an InsertQueryBuilder within TypeOrm?

asked 2023-06-05 10:35:24 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-05 11:02:01 +0000

lakamha gravatar image

No, it is not possible to retrieve an @Entity type from an InsertQueryBuilder within TypeOrm because the InsertQueryBuilder is used for creating and executing INSERT SQL statements, not for retrieving data. To retrieve data from a database using TypeOrm, you would typically use a Repository or QueryBuilder, which are specifically designed for data retrieval operations.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-05 10:35:24 +0000

Seen: 14 times

Last updated: Jun 05 '23