You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
345 B

package edu.hzuapps.androidlabs.watchtv.room;
import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;
import java.util.List;
@Dao
public interface ProgramsDao {
@Insert
void insertPrograms(Programs... programs);
@Query("SELECT * FROM programs")
List<Programs> queryAllPrograms();
}