package com.pixelized.biblib.database.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import com.pixelized.biblib.database.crossref.BookAuthorCrossRef
import com.pixelized.biblib.database.crossref.BookGenreCrossRef

@Dao
interface CrossRefDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(vararg bookAuthor: BookAuthorCrossRef)

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(vararg bookGenre: BookGenreCrossRef)
}