Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +----------------------+---------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +----------------------+---------------------+------+-----+---------+----------------+
- | id | int(11) | NO | PRI | NULL | auto_increment |
- | username | varchar(15) | NO | | NULL | |
- +----------------------+---------------------+------+-----+---------+----------------+
- +-------------+---------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-------------+---------+------+-----+---------+-------+
- | user_one_id | int(11) | NO | PRI | NULL | |
- | user_two_id | int(11) | NO | PRI | NULL | |
- +-------------+---------+------+-----+---------+-------+
- public async Task<IReadOnlyList<MessengerFriend>> GetFriends(int playerId)
- SELECT * FROM messenger_friends WHERE user_one_id = {playerId} OR user_two_id = {playerId}
Add Comment
Please, Sign In to add comment