mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-02 13:32:51 +00:00
Add archives to collective insights
This commit is contained in:
parent
d78bd4142c
commit
b1a1a2b837
@ -39,6 +39,9 @@ object QCollective {
|
||||
union distinct
|
||||
select a.file_id,m.length from attachment_source a
|
||||
inner join filemeta m on m.id = a.file_id where a.id in (select aid from attachs)
|
||||
union distinct
|
||||
select a.file_id,m.length from attachment_archive a
|
||||
inner join filemeta m on m.id = a.file_id where a.id in (select aid from attachs)
|
||||
) as t""".query[Option[Long]].unique
|
||||
|
||||
val q3 = fr"SELECT" ++ commas(
|
||||
|
Loading…
x
Reference in New Issue
Block a user