mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve form
This commit is contained in:
@ -82,6 +82,11 @@ object RTag {
|
||||
sql.query[RTag].to[Vector]
|
||||
}
|
||||
|
||||
def findAllById(ids: List[Ident]): ConnectionIO[Vector[RTag]] =
|
||||
selectSimple(all, table, tid.isIn(ids.map(id => sql"$id").toSeq))
|
||||
.query[RTag]
|
||||
.to[Vector]
|
||||
|
||||
def findByItem(itemId: Ident): ConnectionIO[Vector[RTag]] = {
|
||||
val rcol = all.map(_.prefix("t"))
|
||||
(selectSimple(
|
||||
|
Reference in New Issue
Block a user