daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. +----------------------+---------------------+------+-----+---------+----------------+
  2. | Field                | Type                | Null | Key | Default | Extra          |
  3. +----------------------+---------------------+------+-----+---------+----------------+
  4. | id                   | int(11)             | NO   | PRI | NULL    | auto_increment |
  5. | username             | varchar(15)         | NO   |     | NULL    |                |
  6. +----------------------+---------------------+------+-----+---------+----------------+
  7.    
  8. +-------------+---------+------+-----+---------+-------+
  9. | Field       | Type    | Null | Key | Default | Extra |
  10. +-------------+---------+------+-----+---------+-------+
  11. | user_one_id | int(11) | NO   | PRI | NULL    |       |
  12. | user_two_id | int(11) | NO   | PRI | NULL    |       |
  13. +-------------+---------+------+-----+---------+-------+
  14.    
  15. public async Task<IReadOnlyList<MessengerFriend>> GetFriends(int playerId)
  16.    
  17. SELECT * FROM messenger_friends WHERE user_one_id = {playerId} OR user_two_id = {playerId}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top