![]() |
#1 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Comment too large
Hi
I search a plugin or a simple command to search amidst my books all books with too large comment (exemple : > 5000 car ) Have you an idea ? Thanks PS: can you delete the same post in related tools please PS : i use sql to do that , but i will prefere to do with calibre interface SELECT books.id as booksid, title, author_sort as author, books.series_index as serie_index, series.name as serie_name , length(comments.text) FROM books left outer join books_series_link on books.id = books_series_link.book left outer join comments on comments.book = books.id left outer join series on books_series_link.series = series.id where length(comments.text) > 5000 order by length(comments.text) ; Last edited by Doum; 12-09-2023 at 10:47 AM. |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
This thread may help "Searching Library on Field Length" https://www.mobileread.com/forums/sh...d.php?t=349658
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,329
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Use "Search using templates" (See the manual, scroll to find the "search using templates" documentation).
Example: The template text is Code:
program: if strlen($comments) ># 5000 then '1' else '' fi |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Great thank both of you, exactly wth i want !!!! (and two solutions !!)
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Empty comment not identified by comment:false search | madeleinelevy | Library Management | 11 | 03-22-2019 06:36 PM |
comment trier | kaboukoe | Software | 0 | 09-28-2012 01:22 PM |
Large stopgap ereader with large fonts | renushan | Which one should I buy? | 2 | 08-16-2012 01:49 AM |