package com.ustadmobile.core.db.dao

import androidx.room.Dao
import androidx.room.Query
import com.ustadmobile.lib.db.entities.LanguageVariant
import kotlin.String

@Dao
public actual abstract class LanguageVariantDao : BaseDao<LanguageVariant> {
  @Query(`value` = "SELECT * FROM LanguageVariant WHERE countryCode = :countryCode LIMIT 1")
  public actual abstract fun findByCode(countryCode: String): LanguageVariant?
}
