tsuki
Explore posts from serversDTDrizzle Team
•Created by tsuki on 4/8/2024 in #help
trying to create a trigger on supabase to calculate a winrate based on two other columns
and also, it makes some other parts much easier to handle.
such as doing stuff with tanstack table and using the data fetched from the db directly without having to tranform it beforehand
6 replies
DTDrizzle Team
•Created by tsuki on 4/8/2024 in #help
trying to create a trigger on supabase to calculate a winrate based on two other columns
i suppose it's not technically needed per say.
i thought it'd be easier to work with, if there was a single source of truth for it, instead of having to recalculate it whenever it's needed
6 replies
TTCTheo's Typesafe Cult
•Created by tsuki on 3/12/2024 in #questions
Properly setting a minimum delay when fetching data from external api
the point is that i don't want to fetch data more than 10 times a second.
i've got a search field, that when changed, calls
the search input has some debouncing to ensure my internal trpc methods don't get called more than necessary, but i'd like to be completely sure, that the scryfall api, does not get hit more than is allowed, (ie. ~10 times each second).
i'll mark your response as the solution, as it (so far at least) seems to be the proper way to "?rate limit?" the calls to the scryfall api, myself.
4 replies
DTDrizzle Team
•Created by tsuki on 12/25/2023 in #help
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
upgrading
drizzle-orm
to version ^0.29.2
seems to have resolved the issue2 replies
TTCTheo's Typesafe Cult
•Created by tsuki on 11/2/2023 in #questions
onSuccess, onError and onSettled deprecated next major version?
cheers
16 replies