Find duplicate tags without category

This commit is contained in:
Eike Kettner
2020-10-19 00:29:53 +02:00
parent 6a3386ce66
commit 3771587e55

View File

@ -69,7 +69,7 @@ object RTag {
val sql = selectCount( val sql = selectCount(
tid, tid,
table, table,
and(cid.is(tag.collective), name.is(tag.name), category.is(tag.category)) and(cid.is(tag.collective), name.is(tag.name))
) )
sql.query[Int].unique.map(_ > 0) sql.query[Int].unique.map(_ > 0)
} }