Skip to content

Commit

Permalink
fix git conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 14, 2025
1 parent 06839b6 commit 48670cf
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 1,079 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ package it.niedermann.owncloud.notes.persistence.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import it.niedermann.owncloud.notes.persistence.entity.ShareEntity

@Dao
interface ShareDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun addShareEntities(entities: List<ShareEntity>)

@Insert
fun addShareEntity(entity: ShareEntity)

@Query("SELECT * FROM share_table WHERE noteRemoteId = :noteRemoteId AND userName = :userName")
fun getShareEntities(noteRemoteId: Long, userName: String): List<ShareEntity>
@Query("SELECT * FROM share_table WHERE path = :path")
fun getShareEntities(path: String): List<ShareEntity>
}

This file was deleted.

This file was deleted.

Loading

0 comments on commit 48670cf

Please sign in to comment.