mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-26 01:09:02 -05:00
17 lines
407 B
TypeScript
17 lines
407 B
TypeScript
import { sql } from "~/db/sql";
|
|
|
|
const stm = sql.prepare(/* sql */ `
|
|
insert into "TournamentMatchGameResultParticipant"
|
|
("matchGameResultId", "userId", "tournamentTeamId")
|
|
values
|
|
(@matchGameResultId, @userId, @tournamentTeamId)
|
|
`);
|
|
|
|
export function insertTournamentMatchGameResultParticipant(args: {
|
|
matchGameResultId: number;
|
|
userId: number;
|
|
tournamentTeamId: number;
|
|
}) {
|
|
stm.run(args);
|
|
}
|