RED-8561: added sql query to create entities for dossier dictionaries #374

Merged
ali.oezyetimoglu1 merged 7 commits from RED-8561-3 into master 2024-03-07 13:59:23 +01:00
Showing only changes of commit 7b6af5bf3b - Show all commits

View File

@ -9,4 +9,4 @@ SELECT (SELECT trim(trailing ':' from trim(trailing e.dossier_id from e.id))), e
e.label, e.rank, e.type, e.version, e.recommendation_hex_color, e.has_dictionary, e.system_managed, e.auto_hide_skipped, e.soft_deleted_time, e.skipped_hex_color,
e.dossier_dictionary_only
FROM entity e
WHERE (SELECT trim(trailing ':' from trim(trailing e.dossier_id from e.id))) IS NOT NULL;
WHERE (SELECT substr(e.id, POSITION(':' IN e.id) + POSITION(':' IN substr(e.id, POSITION(':' IN e.id) + 1)) + 1)) = '' IS FALSE OR NOT NULL;