Open Ginden opened 2 years ago
@Ginden I need this feature and also the one mentioned in #8542.
Do you plan to create a PR for it? if not, I'm ready to it.
Do you plan to create a PR for it? if not, I'm ready to it.
You will probably be faster, because I will be busy at least until end of September.
Any updates? 🥺🥺🥺
Any update on this?
Anything so far?
None, I'm not at company using TypeORM anymore.
Feature Description
Allow
InsertQueryBuilder
to use SELECT.The Problem
Following code can't be generated using
QueryBuilder
The Solution
Obvious solution would be to use something like:
Easier to implement would be:
and generate query like
Considered Alternatives
Use other query builder library of construct query manually.
Additional Context
https://www.postgresql.org/docs/14/sql-insert.html
(redacted for clarity)
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?