Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UserInBoardDao.java « dao « db « adapters « sync « persistence « deck « nextcloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a0476c5322f53ca4f0720225c22353b2dedc60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package it.niedermann.nextcloud.deck.persistence.sync.adapters.db.dao;

import androidx.room.Dao;
import androidx.room.Query;

import it.niedermann.nextcloud.deck.model.relations.UserInBoard;

@Dao
public interface UserInBoardDao extends GenericDao<UserInBoard> {
    @Query("DELETE FROM userinboard WHERE boardId = :localId")
    void deleteByBoardId(long localId);
}