Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I implement below query using querybuilder/ find() method? WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. #5484

Closed
AkshayPanchal-004 opened this issue Feb 5, 2020 · 5 comments

Comments

@AkshayPanchal-004
Copy link

Issue type:

[ =] question
[ ] bug report
[ ] feature request
[ ] documentation issue

Database system/driver:

[ ] cordova
[ ] mongodb
[ ] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo

TypeORM version:

[ ] latest
[ ] @next
[ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

@AkshayPanchal-004 AkshayPanchal-004 changed the title Can I implement below query using querybuilder/ find() method Can I implement below query using querybuilder/ find() method?WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. Feb 5, 2020
@AkshayPanchal-004 AkshayPanchal-004 changed the title Can I implement below query using querybuilder/ find() method?WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. Can I implement below query using querybuilder/ find() method? WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. Feb 5, 2020
@AkshayPanchal-004 AkshayPanchal-004 changed the title Can I implement below query using querybuilder/ find() method? WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. Can I implement below query using querybuilder/ find() method? WITH Employee_CTE (EmployeeNumber, Title) AS (SELECT NationalIDNumber, JobTitle FROM HumanResources.Employee) Please advise. Feb 5, 2020
@Ginden
Copy link
Collaborator

Ginden commented Feb 10, 2020

No, you can't.

Duplicate of #1116

@AkshayPanchal-004
Copy link
Author

AkshayPanchal-004 commented Feb 14, 2020

Is there any way/idea that I can use to implement these approach using typeorm?

@Ginden
Copy link
Collaborator

Ginden commented Feb 19, 2020

Unfortunely, you can't, unless you contribute to TypeORM itself. It probably shouldn't be too hard.

@AkshayPanchal-004
Copy link
Author

Thank you @Ginden for your time and advice.
Will you please advice me how can I contribute to TypeORM repository. Is there any code rules which I need to follow for my contribution.

@Ginden
Copy link
Collaborator

Ginden commented Apr 13, 2022

@AkshayPanchal-004 This was implemented in 0.3 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants