You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
Hi!
I'm implementing an adjacency list tree and I have some questions:
From what I saw, the helper methods exposed by the TreeRepository are not avaible for adjacency list trees, right? If so, why?
Since I'm using PostgreSQL, I'd like to use a WITH [RECURSIVE] query (as described here) to query my recursive entities. How could I do that with TypeORM? From what I see, the QueryBuilder does not support it, and if I use raw queries, it doesn't return the entities, but raw data.
And not entirely related to the problem, but curious: Can the TreeRepository be used with AR-like entities?
Thanks!
The text was updated successfully, but these errors were encountered:
Issue type:
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[x]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Hi!
I'm implementing an adjacency list tree and I have some questions:
TreeRepository
are not avaible for adjacency list trees, right? If so, why?WITH [RECURSIVE]
query (as described here) to query my recursive entities. How could I do that with TypeORM? From what I see, theQueryBuilder
does not support it, and if I use raw queries, it doesn't return the entities, but raw data.TreeRepository
be used with AR-like entities?Thanks!
The text was updated successfully, but these errors were encountered: