PogPEGA
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
hii, could someone tell me a bit about the
@discordjs/proxy
package? i have seen the motives but im not sure about it. mainly:
- why strip the ratelimit headers? i know it means REST
wont handle it but, whats the motive? in which case would you not want it to be handled for you?11 replies
tuple() and refTuple() questions
Hello, i would like to generate this query
DELETE FROM table WHERE (col1,col2,col3) IN (...insert values);
i found out from my code editor intellisense that tuple()
and refTuple()
exist, but to my surprise, i can only insert 2 values in a single tuple.
is there a way for me to achieve that in kysely? or do i stick to raw sql for that?
PS: i thought nesting would work, like tuple(tuple(a, b), c)
, but that's obviously not it8 replies
Execute RAW Sql Queries
hello, is it possible to execute any raw query supported by my underlying sql driver with
kysely
? i could not find any such function in the docs or the guide book
for example, describe table_name
errors because kysely itself cannot compile it. i am using mysql2
as my driver.4 replies