noahsolomon
noahsolomon
Explore posts from servers
DTDrizzle Team
Created by noahsolomon on 10/1/2024 in #help
pgvector returning less than it should
any help would be very much appreciated!
3 replies
DTDrizzle Team
Created by noahsolomon on 10/1/2024 in #help
pgvector returning less than it should
This should be returning 10,000. The table has 1,200,000 entries. However, it is cutting off after 390 for some reason. This is obviously a huge problem I need fixed. I am using neondb for context, and I'm not sure if this is something to take up with them or is it a drizzle thing
3 replies
DTDrizzle Team
Created by noahsolomon on 6/18/2024 in #help
Where clause dependent on with relation
kinda what im thinking but this isn't the right syntax ^
4 replies
DTDrizzle Team
Created by noahsolomon on 6/18/2024 in #help
Where clause dependent on with relation
const news = await ctx.db.query.newsTable.findMany({
limit: 20,
offset: 20 * input.page,
orderBy: (newsTable, { desc }) => [desc(newsTable.createdAt)],
with: {
tweets: {
with: { pundit: true },
},
},
where: tweets.length > 0
});
const news = await ctx.db.query.newsTable.findMany({
limit: 20,
offset: 20 * input.page,
orderBy: (newsTable, { desc }) => [desc(newsTable.createdAt)],
with: {
tweets: {
with: { pundit: true },
},
},
where: tweets.length > 0
});
4 replies
TtRPC
Created by noahsolomon on 11/4/2023 in #❓-help
How to refetch a call made on the server
this is in the page.tsx which is a server component. When a child clicks a button and makes a post, I need the section to reinvoke this tRPC endpoint but idk how to do this if it's even possibke
3 replies
TtRPC
Created by noahsolomon on 10/17/2023 in #❓-help
tRPC requests on client vs server for NextJs
: (
13 replies
TtRPC
Created by Rule on 10/14/2023 in #❓-help
tRPC with with react-query prefetching in Next.js app directory.
same
7 replies
TtRPC
Created by noahsolomon on 10/17/2023 in #❓-help
tRPC requests on client vs server for NextJs
if anyone has any insight it would be greatly appreciated
13 replies