Simon
Simon
Explore posts from servers
DTDrizzle Team
Created by Simon on 2/8/2024 in #help
Alter type enum column ending in replace rather than alter
No description
2 replies
DTDrizzle Team
Created by Simon on 2/1/2024 in #help
ON DUPLICATE KEY UPDATE with bulk insert?
INSERT INTO beautiful (name, age)
VALUES
('Helen', 24),
('Katrina', 21),
('Samia', 22),
('Hui Ling', 25),
('Yumie', 29)
AS new
ON DUPLICATE KEY UPDATE
age = new.age
...
INSERT INTO beautiful (name, age)
VALUES
('Helen', 24),
('Katrina', 21),
('Samia', 22),
('Hui Ling', 25),
('Yumie', 29)
AS new
ON DUPLICATE KEY UPDATE
age = new.age
...
any way to create such a query?
3 replies
TtRPC
Created by Simon on 1/16/2024 in #❓-help
v10, passing useQuery options, queryKey mandatory?
I have a simple query like this
const me = api.user.me.useQuery(undefined, {
enabled: true,
})
const me = api.user.me.useQuery(undefined, {
enabled: true,
})
which results in an error Property 'queryKey' is missing in type .... So I have to pass the queryKey eventho it should be automatically generated?
5 replies
TTCTheo's Typesafe Cult
Created by Simon on 1/16/2024 in #questions
serverCallback failing, receiving error on upload
No description
3 replies