package com.bearya.data.dao

import androidx.paging.DataSource
import androidx.room.Dao
import androidx.room.Query
import com.bearya.data.entity.Analysis

@Dao
interface AnalysisDao {

    @Query("SELECT * FROM Analysis where `sectionId` = :id")
    fun findAnalysisBySectionId(id:Int): DataSource.Factory<Int, Analysis>

}