Implements full player get
This commit is contained in:
11
backend/selectPlayer.sql
Normal file
11
backend/selectPlayer.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- 1. Get player and guild info (1 row)
|
||||
select
|
||||
p.id as PlayerID,
|
||||
p.name as PlayerName,
|
||||
g.id as GuildID,
|
||||
g.name as GuildName
|
||||
from
|
||||
player p
|
||||
join guild g on p.guild = g.id
|
||||
where
|
||||
p.name = $1;
|
Reference in New Issue
Block a user