karma
karma
DTDrizzle Team
Created by karma on 11/30/2023 in #help
Does Promise.all work correct in transactions?
As I just found out, pg only works with one query (or more if there is more than one connection), so it makes no sense to use Promise.all or Promise.allSettled, because in any case requests to the database will be executed one by one?
4 replies
DTDrizzle Team
Created by karma on 11/1/2023 in #help
magical operator sql`` is faster than query/select?
im not sure, that i did it correct, but i deice to fetch with different ways specific talbes, and make kinda banchmarks with console.time/timeEnd and saw a lot of different in this sql``:0.361ms average query: 1.532ms average select:0.981ms average did i do something worng or this is true, if so, what is the reason to use query and select?
4 replies