© 2026 Hedgehog Software, LLC
ts await ctx.prisma.voteAnime.create({ data: { votedAgainstId: input.votedAgainst, votedForId: input.votedFor, }, });
ts const result = await ctx.db .insertInto("VoteAnime") .values({ votedAgainstId: input.votedAgainst, votedForId: input.votedFor, }) .executeTakeFirst();