GStudiosX2
Explore posts from serversDTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
Eh i don't really want to mess too much with db stuff right now
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
Ok i think i got it working with subquerys
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
This doesn't work it only picks the first one
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
Sorry for the ping but how do i do this ? I'm new to drizzle and don't know much SQL
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
Do i just change the id to serial ?
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
How would i do that?
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
So do i add another column then ?
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
I might just do desc(table.created_at) and then just reverse it since it seems to work but I'll just have to probably add a bunch of rows to test
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
I would need to make the id a number for that because rn its a text
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
If i use desc can i just reverse it so the older messages show before new ones from the last 30 ?
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
Well i haven't checked if it returns the latest records or not i just assumed it wouldn't
28 replies
DTDrizzle Team
•Created by GStudiosX2 on 7/31/2024 in #help
Get N of last rows
I need it to be ordered by asc(messages.created_at)
28 replies
TTCTheo's Typesafe Cult
•Created by argcast on 5/15/2024 in #questions
'use client' with tRPC? Type error: This expression is not callable
15 replies
TTCTheo's Typesafe Cult
•Created by argcast on 5/15/2024 in #questions
'use client' with tRPC? Type error: This expression is not callable
It looks like this is correct for trpc react query i think
15 replies
TTCTheo's Typesafe Cult
•Created by argcast on 5/15/2024 in #questions
'use client' with tRPC? Type error: This expression is not callable
I haven't used trpc with react so i don't know how you do stuff with that
15 replies
TTCTheo's Typesafe Cult
•Created by argcast on 5/15/2024 in #questions
'use client' with tRPC? Type error: This expression is not callable
I think you also may need to await it aswell?
15 replies
TTCTheo's Typesafe Cult
•Created by argcast on 5/15/2024 in #questions
'use client' with tRPC? Type error: This expression is not callable
api.test.getCountryList.query()
15 replies
TTCTheo's Typesafe Cult
•Created by GStudiosX2 on 5/6/2024 in #questions
Anyone know how to fix svelte-query
I fixed it just needed to restart sveltekit
5 replies
TTCTheo's Typesafe Cult
•Created by GStudiosX2 on 5/6/2024 in #questions
Anyone know how to fix svelte-query
Also i tried reinstalling twice and it didnt work
5 replies
TTCTheo's Typesafe Cult
•Created by WeiKaiLe on 5/6/2024 in #questions
fresh install - prisma db:push fails when using .env.development & .env.production
Prisma recommends using https://www.npmjs.com/package/dotenv-cli https://www.prisma.io/docs/orm/more/development-environment/environment-variables/using-multiple-env-files
5 replies