New Features #1

Open
marvinelsen wants to merge 76 commits from develop into main
Showing only changes of commit 8db4c3879f - Show all commits

View File

@ -81,7 +81,7 @@ class SqliteDictionary(private val connection: Connection) : Dictionary {
WITH cte(id, character, syllable) AS (VALUES ?) WITH cte(id, character, syllable) AS (VALUES ?)
SELECT traditional, simplified, pinyin_with_tone_marks, pinyin_with_tone_numbers, zhuyin, cedict_definitions, cross_straits_definitions, moe_definitions SELECT traditional, simplified, pinyin_with_tone_marks, pinyin_with_tone_numbers, zhuyin, cedict_definitions, cross_straits_definitions, moe_definitions
FROM entry INNER JOIN cte FROM entry INNER JOIN cte
ON cte.character = entry.traditional OR cte.character = entry.simplified ON cte.character = entry.traditional
WHERE cte.syllable = entry.pinyin_with_tone_numbers WHERE cte.syllable = entry.pinyin_with_tone_numbers
ORDER BY cte.id ORDER BY cte.id
""".trimIndent() """.trimIndent()