Files
sqlpage--sqlpage/examples/corporate-conundrum/New Game.sql
lovasoa 7fcfd192be update corporate conundrum to use the new sqlpage.link function
this fixes a bug when player names contain special characters like '&'
2024-07-11 18:44:41 +02:00

5 lines
117 B
SQL

INSERT INTO games(id)
VALUES(random())
RETURNING
'redirect' as component,
CONCAT('game.sql?id=', id) as link;