Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
Change * to row name
Browse files Browse the repository at this point in the history
  • Loading branch information
JustHumanz committed Mar 5, 2022
1 parent a36aef8 commit 8b88806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/database/generaldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func GetMembers(GroupID int64) ([]Member, error) {
Data []Member
)

rows, err := DB.Query(`SELECT * FROM Vtuber.VtuberMember WHERE VtuberGroup_id=? Order by Region,VtuberGroup_id;`, GroupID)
rows, err := DB.Query(`SELECT id, VtuberName, VtuberName_EN, VtuberName_JP, Twitter_Username, Twitter_Hashtag, Twitter_Avatar, Twitter_Banner, Twitter_Lewd, Youtube_ID, Youtube_Avatar, Youtube_Banner, BiliBili_SpaceID, BiliBili_RoomID, BiliBili_Avatar, BiliBili_Hashtag, BiliBili_Banner, Twitch_Username, Twitch_Avatar, Region, Fanbase, Status, VtuberGroup_id FROM Vtuber.VtuberMember WHERE VtuberGroup_id=? Order by Region,VtuberGroup_id;`, GroupID)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 8b88806

Please sign in to comment.