We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c54c8 commit 898926dCopy full SHA for 898926d
src/graphorm/index.ts
@@ -1660,6 +1660,28 @@ const obj = new GraphORM({
1660
},
1661
1662
1663
+ TrendingUserSource: {
1664
+ fields: {
1665
+ handle: {
1666
+ customQuery: (_, alias, qb) =>
1667
+ qb
1668
+ .select('u.username')
1669
+ .from(User, 'u')
1670
+ .where(`u.id = ${alias}."sourceId"`),
1671
+ },
1672
1673
1674
+ PopularUserSource: {
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
});
1686
1687
export default obj;
0 commit comments