| Constructor and Description |
|---|
PlayerDao_Impl(android.arch.persistence.room.RoomDatabase __db) |
| Modifier and Type | Method and Description |
|---|---|
int |
countPlayers() |
void |
delete(Player user)
Delete a player in the database
|
Player |
findById(int id)
Retrieves a player from the database
|
java.util.List<Player> |
getAll()
Retrieves all players in the database
|
void |
insertAll(Player... players)
Insert one or more players in the database
|
void |
update(Player player)
Update a player in the database
|
public PlayerDao_Impl(android.arch.persistence.room.RoomDatabase __db)
public void insertAll(Player... players)
PlayerDaopublic void delete(Player user)
PlayerDaopublic void update(Player player)
PlayerDaopublic java.util.List<Player> getAll()
PlayerDaopublic Player findById(int id)
PlayerDaopublic int countPlayers()
countPlayers in interface PlayerDao