Query Metrics

142 Database Queries
81 Different statements
1274.71 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 1.74 ms
SELECT id FROM language WHERE shortcode = 'es' limit 1
Parameters:
[]
2 7.89 ms
SELECT max(sl.datemod) FROM ui_string_language sl, ui_string s WHERE sl.language_id in (401, 123) and s.id = sl.ui_string_id and s.is_active and s.type_id in (1, 3)
Parameters:
[]
3 9.67 ms
SELECT distinct s.name, case when sl2.id is null then sl.text else sl2.text end as text, s.fix_quote FROM (select * from ui_string_language where language_id = 123) sl, ui_string s left join (select * from ui_string_language where language_id = 401 and text is not null and text <> '') sl2 on s.id = sl2.ui_string_id where s.id = sl.ui_string_id and s.is_active and s.type_id in (1, 3)
Parameters:
[]
4 0.92 ms
SELECT t0.id AS id_1, t0.translatedTitle AS translatedtitle_2, t0.name AS name_3, t0.description AS description_4, t0.url AS url_5, t0.isPublic AS ispublic_6, t0.audience AS audience_7, t0.isOriginal AS isoriginal_8, t0.isLanguageDefault AS islanguagedefault_9, t0.type_id AS type_id_10, t0.translationmethod_id AS translationmethod_id_11, t0.public_file AS public_file_12, t0.doc_link AS doc_link_13, t0.work_id AS work_id_14, t0.language_id AS language_id_15 FROM expositiontranslation t0 WHERE t0.url = ? AND t0.isPublic = ? AND t0.type_id = ? LIMIT 1
Parameters:
[
  "inner-meaning-of-luke-7"
  1
  1
]
5 0.62 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.fullTitle AS fulltitle_3, t0.description AS description_4, t0.url AS url_5, t0.isPublic AS ispublic_6, t0.audience AS audience_7, t0.swedenborgType AS swedenborgtype_8 FROM expositionwork t0 WHERE t0.id = ?
Parameters:
[
  11266
]
6 0.62 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.ordering AS ordering_4, t0.work_id AS work_id_5, t0.superdivision_id AS superdivision_id_6 FROM expositiondivision t0 WHERE t0.work_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  11266
]
7 0.23 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.ordering AS ordering_4, t0.work_id AS work_id_5, t0.superdivision_id AS superdivision_id_6 FROM expositiondivision t0 WHERE t0.superdivision_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  10534
]
8 0.46 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.title AS title_3, t0.swedenborgSection AS swedenborgsection_4, t0.division_id AS division_id_5 FROM expositionpassage t0 WHERE t0.division_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  10534
]
9 0.39 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.subsection AS subsection_3, t0.passage_id AS passage_id_4 FROM expositiontextunit t0 WHERE t0.passage_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  48196
]
10 22.52 ms
SELECT t0.id AS id_1, t0.text AS text_2, t0.textVector AS textvector_3, t0.translation_id AS translation_id_4, t0.placement_id AS placement_id_5 FROM expositiontranslationtext t0 WHERE t0.placement_id = ?
Parameters:
[
  86810
]
11 0.24 ms
select translationmethod_id from expositiontranslation where id = 63318
Parameters:
[]
12 0.64 ms
select t2.id from expositiontranslation t1, expositiontranslation t2 where t1.id = 63318 and t1.work_id = t2.work_id and t2.isoriginal order by case when t2.language_id = 123 then 1 else 2 end
Parameters:
[]
13 1.24 ms
SELECT array_to_string(array_agg( (CASE WHEN p.name is not null then p.name else (case when p.title is null then '' else p.title || ' ' end) || (case when p.firstname is null then '' else p.firstname || ' ' end) || (case when p.middlename is null then '' else p.middlename || ' ' end) || (case when p.lastname is null then '' else p.lastname || ' ' end) || (case when p.suffix is null then '' else p.suffix || ' ' end) end) ), ', ') as authors  FROM translation_bibliographicdata tbg, bibliographicdata_person bp, person p WHERE tbg.translation_id = 63318 and tbg.bibliographicdata_id = bp.bibliographicdata_id and bp.person_id = p.id
Parameters:
[]
14 1.09 ms
SELECT c.url FROM expositionwork w, work_category wc, concept_work cl, expositiontranslation t, concept c WHERE w.id = 11266 and wc.work_id = w.id and t.work_id = w.id and cl.work_id = w.id and c.id = cl.concept_id and wc.category_id = 12
Parameters:
[]
15 0.66 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.url AS url_4, t0.indexPage AS indexpage_5 FROM expositioncategory t0 INNER JOIN work_category ON t0.id = work_category.category_id WHERE work_category.work_id = ?
Parameters:
[
  11266
]
16 0.18 ms
SELECT text_style_override  FROM language WHERE id = 123
Parameters:
[]
17 0.61 ms
SELECT t.name FROM texttospeech t, texttospeechlanguage tl WHERE tl.language_id = 123 and t.id = tl.tts_id order by tl.is_standard desc limit 1
Parameters:
[]
18 1.12 ms
SELECT p.id, t.url as translation_url, d.url as division_url,  (case when p.swedenborgsection is not null then p.swedenborgsection else cast(p.ordering as text) end) as passage_num, p.ordering as passage_order, (case when w.swedenborgtype is not null then 'swedenborg' else 'explanation' end) || '_' || t.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '_' || p.ordering end) as multi_spec  FROM expositionpassage p, expositiondivision d, expositiontranslationtext tt, expositiontextunit tu, expositiontranslation t, expositionwork w WHERE d.work_id = 11266 and p.division_id = d.id and p.ordering < 1 and tt.translation_id=63318 and tt.placement_id = tu.id and tu.passage_id = p.id and t.id = tt.translation_id and d.work_id = w.id order by p.ordering desc limit 1
Parameters:
[]
19 0.99 ms
SELECT p.id, t.url as translation_url, d.url as division_url, (case when p.swedenborgsection is not null then p.swedenborgsection else cast(p.ordering as text) end) as passage_num, p.ordering as passage_order, (case when w.swedenborgtype is not null then 'swedenborg' else 'explanation' end) || '_' || t.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '_' || p.ordering end) as multi_spec  FROM expositionpassage p, expositiondivision d, expositiontranslationtext tt, expositiontextunit tu, expositiontranslation t, expositionwork w WHERE d.work_id = 11266 and p.division_id = d.id and p.ordering > 1 and tt.translation_id=63318 and tt.placement_id = tu.id and tu.passage_id = p.id and t.id = tt.translation_id and d.work_id = w.id order by p.ordering limit 1
Parameters:
[]
20 0.89 ms
SELECT t.name, t.translatedtitle, (case when b.datecreated is null then '' else ' (' || b.datecreated || ')' end) as datestr, w.title as work_title, t.isoriginal, t.language_id FROM language l, expositionwork w, expositiontranslation t left join (select tb.translation_id, b.datecreated from bibliographicdata b, translation_bibliographicdata tb where b.id = tb.bibliographicdata_id) as b on t.id = b.translation_id WHERE t.id = 63318 and t.work_id = w.id and t.language_id = l.id
Parameters:
[]
21 0.15 ms
select text from ui_string_language where ui_string_id = 469 and language_id = 123
Parameters:
[]
22 0.15 ms
select language_id from expositiontranslation where id = 63318
Parameters:
[]
23 0.99 ms
select array_to_string(array_agg(DISTINCT d.ref_id),',') as ref from expositiontextunit t, expositiontranslationtext tt, expositiondisplayitem d where t.passage_id = 48196 and tt.translation_id = 63318 and t.id = tt.placement_id and d.container_id = tt.id and d.type_id = 2
Parameters:
[]
24 66.64 ms
select t3.* from  (select * from (SELECT distinct on (tc.textunit_id, rc.id) tc.textunit_id, rc.id as ref_id, rc.originallinktext as link_text, cc1.book_id, rb.startverse_id as startloc_id, rb.endverse_id as endloc_id, true as is_bibleref, 'bible_' || trans.url || '_' || cb.url || '_' || cc1.ordering || (case when cc1.id <> cc2.id then '-' || cc2.ordering else '' end) || '_' || cv1.ordering || (case when rb.startverse_id <> rb.endverse_id then '-' || cv2.ordering else '' end) as multilink_text, cc1.ordering as ordering1, cv1.ordering as ordering2, (case when trans.language_id = 123 then case when trans.languagedefault then 3 else 4 end end) as priority_order, cb.url as book_url, trans.url as trans_url, cc1.ordering as chapter_order1, cc2.ordering as chapter_order2, cv1.ordering as verse_order1, cv2.ordering as verse_order2, trans.url as div_url, 0 as passage_order  FROM refbible rb, refcombined rc, textunit_combinedreference tc, expositiontextunit t, canonicalbibleverse cv1, canonicalbiblechapter cc1, canonicalbiblebook cb, canonicalbibleverse_bibleverse cbb1, bibleverse v1, biblechapter c1, canonicalbibleverse cv2, canonicalbiblechapter cc2, biblebook b, bibletranslation trans WHERE t.passage_id = 48196 and t.id = tc.textunit_id and rc.id = tc.combinedreference_id  and rc.id not in (493,1324,1517,2087,3647,3721,4329,4385,5162,5163,5420,5720,5721,6632,7702,10261,10977,13557,14062,15088,16757,17901,22169,24035,25024,27176,29780,30722,41387,43800,46431,48582,53768,60620,60763,65312,65354,65355,65356,65357,65360,65361,65362,65363,65365,65366,65367,65368,65369,65371,65372,65373,65374,65376,65380,65382,65491,96434,96436,96592,96853,106043,106598,107383,127192,146857,147035,148125,148126,148127,148128,148129,148130) and rb.container_id = rc.id and cv1.id = rb.startverse_id and cv1.chapter_id = cc1.id and cc1.book_id = cb.id and cv1.id = cbb1.canonicalbibleverse_id and v1.id = cbb1.bibleverse_id and v1.chapter_id = c1.id and c1.book_id = b.id and cv2.id = rb.endverse_id and cv2.chapter_id = cc2.id and b.translation_id = trans.id and trans.enabled order by tc.textunit_id, rc.id, priority_order asc, trans.languagedefault desc) as b union select * from (SELECT distinct on (tc.textunit_id, rc.id) tc.textunit_id, rc.id as ref_id, rc.originallinktext as link_text, d.work_id as book_id, re.startlocation_id as startloc_id, re.endlocation_id as endloc_id, false as is_bibleref, (case when w.swedenborgtype is not null then 'swedenborg_' else 'explanation_' end) || trans.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as multilink_text, p.ordering as ordering1, t2.ordering as ordering2, (case when trans.id = 63318 then 1 else case when trans.language_id = 123 then case when trans.islanguagedefault then 3 else 4 end end end) as priority_order, trans.url as book_url, trans.url as trans_url, 0 as chapter_order1, 0 as chapter_order2, 0 as verse_order1, 0 as verse_order2, d.url as div_url, p.ordering as passage_order FROM refexposition re, refcombined rc, textunit_combinedreference tc, expositiontextunit t, expositiontextunit t2, expositionpassage p, expositiondivision d, expositionwork w, expositiontranslation trans, expositiontranslationtext tt WHERE t.passage_id = 48196 and t.id = tc.textunit_id and rc.id = tc.combinedreference_id  and rc.id not in (493,1324,1517,2087,3647,3721,4329,4385,5162,5163,5420,5720,5721,6632,7702,10261,10977,13557,14062,15088,16757,17901,22169,24035,25024,27176,29780,30722,41387,43800,46431,48582,53768,60620,60763,65312,65354,65355,65356,65357,65360,65361,65362,65363,65365,65366,65367,65368,65369,65371,65372,65373,65374,65376,65380,65382,65491,96434,96436,96592,96853,106043,106598,107383,127192,146857,147035,148125,148126,148127,148128,148129,148130) and re.container_id = rc.id and t2.id = re.startlocation_id and p.id = t2.passage_id and d.id = p.division_id and d.work_id = w.id and w.id = trans.work_id and trans.url is not null and trans.ispublic and w.ispublic and t2.id = tt.placement_id and trans.id = tt.translation_id order by tc.textunit_id, rc.id, priority_order asc, trans.islanguagedefault desc, trans.isoriginal desc) as e) as t3 order by split_part(link_text, ' ', 1), book_id, ordering1, ordering2
Parameters:
[]
25 1.94 ms
select di1.text as footnote, array_to_string(array_agg(di3.text order by di3.ordering),' ') as footnote_text from expositiondisplayitem di1, (select di2.* from expositiondisplayitem di2, expositiontranslationtext tt, expositiontextunit tu where tu.passage_id = 48196 and tt.translation_id = 63318 and tu.id = tt.placement_id and di2.container_id = tt.id order by di2.ordering) as di3 where di3.containingitem_id = di1.id group by di1.text
Parameters:
[]
26 428.46 ms
select * from (SELECT distinct on (di.ref_id) di.ref_id, 'bible_' || trans.url || '_' || cb.url || '_' || cc1.ordering || (case when cc1.id <> cc2.id then '-' || cc2.ordering else '' end) || '_' || cv1.ordering || (case when rb.startverse_id <> rb.endverse_id then '-' || cv2.ordering else '' end) as multilink, true as is_bibleref, 1 as section_order, (case when trans.language_id in (select language_id from expositiontranslation where id = 63318) then 1 else case when trans.language_id = 123 then 2 else 3 end end ) as priority_order, cb.url as book_url, trans.url as trans_url, cc1.ordering as chapter_order1, cc2.ordering as chapter_order2, cv1.ordering as verse_order1, cv2.ordering as verse_order2, trans.url as div_url, 0 as passage_order FROM refbible rb, expositiontextunit t, expositiontranslationtext tt, expositiondisplayitem di, canonicalbibleverse cv1, canonicalbiblechapter cc1, canonicalbiblebook cb, canonicalbibleverse cv2, canonicalbiblechapter cc2, biblebook b, bibletranslation trans  WHERE t.passage_id = 48196 and t.id = tt.placement_id and rb.container_id = di.ref_id and di.container_id = tt.id and di.ref_id is not null and cv1.id = rb.startverse_id and cv1.chapter_id = cc1.id and cc1.book_id = cb.id and cv2.id = rb.endverse_id and cv2.chapter_id = cc2.id and b.canonicalization_id = cb.id and b.translation_id = trans.id and trans.enabled order by di.ref_id, priority_order asc, trans.languagedefault desc) as b union select * from (SELECT distinct on (di.ref_id) di.ref_id, (case when w.swedenborgtype is not null then 'swedenborg' else 'explanation' end) || '_' || trans.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as multilink, false as is_bibleref, t2.ordering as section_order,  (case when trans.id = 63318 then 1 else case when trans.language_id in (select language_id from expositiontranslation where id = 63318) then 2 else case when trans.language_id = 123 then 3 else 4 end end end) as priority_order, trans.url as book_url, trans.url as trans_url, 0 as chapter_order1, 0 as chapter_order2, 0 as verse_order1, 0 as verse_order2, d.url as div_url, p.ordering as passage_order FROM refexposition re, expositiontextunit t, expositiontextunit t2, expositionpassage p, expositiondivision d, expositiontranslationtext tt, expositiondisplayitem di, expositionwork w, expositiontranslation trans WHERE t.passage_id = 48196 and t2.id = re.startlocation_id and p.id = t2.passage_id and d.id = p.division_id and re.container_id = di.ref_id and t.id = tt.placement_id and di.container_id = tt.id and di.ref_id is not null and d.work_id = w.id and w.id = trans.work_id and trans.url is not null and trans.ispublic and w.ispublic order by di.ref_id, priority_order asc, trans.islanguagedefault desc, trans.isoriginal desc) as e
Parameters:
[]
27 3.15 ms
select tt.toc_text, wt.startpassage_id, p.swedenborgsection as startpassagenum, p2.swedenborgsection as endpassagenum, t.url as translation_url, d.url as division_url, p.ordering as startpassageorder, p2.ordering as endpassageorder, (case when w.swedenborgtype is not null then 'swedenborg' else 'explanation' end) || '_' || t.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as link_spec from expositiontranslationtoc tt, expositionwork w, expositiontranslation t, expositiondivision d, expositionpassage p, expositionworktoc wt left join expositionpassage p2 on wt.endpassage_id = p2.id where tt.translation_id = 63318 and tt.worktoc_id = wt.id and wt.startpassage_id = p.id and tt.translation_id = t.id and p.division_id = d.id and t.work_id = w.id order by p.ordering limit 1
Parameters:
[]
28 0.70 ms
SELECT c.id FROM biblebook b, biblechapter c, bibletranslation t, canonicalbiblebook cb WHERE t.url = 'world-english-bible' and cb.url = 'luke' and c.ordering = 7 and b.canonicalization_id = cb.id and b.translation_id = t.id and c.book_id = b.id limit 1
Parameters:
[]
29 2.79 ms
SELECT t.id, (case when l.nativename is not null and l.nativename <> '' then l.nativename else l.name end) as language_name, t.name, t.url, l.righttoleft, b.id as book_id, b.name as book_name, cb.url as canonical_book_url, cc.id as chapter_id, l.id as language_id FROM language l, bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb, canonicalbiblechapter cc where c.id = 5965 and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id and t.enabled and t.language_id = l.id and cc.book_id = cb.id and cc.ordering = c.ordering limit 1
Parameters:
[]
30 1.13 ms
SELECT v.id FROM biblebook b, biblechapter c, bibletranslation t, bibleverse v, canonicalbiblebook cb WHERE t.url = 'world-english-bible' and cb.url = 'luke' and b.canonicalization_id = cb.id and b.translation_id = t.id and c.book_id = b.id and v.chapter_id = c.id and c.ordering = 7 and v.indexdisplay = '35' order by c.ordering, v.indexdisplay limit 1
Parameters:
[]
31 0.39 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  160698
]
32 0.21 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.book_id AS book_id_3 FROM biblechapter t0 WHERE t0.id = ?
Parameters:
[
  5965
]
33 0.22 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.name AS name_3, t0.url AS url_4, t0.translation_id AS translation_id_5, t0.canonicalization_id AS canonicalization_id_6 FROM biblebook t0 WHERE t0.id = ?
Parameters:
[
  387
]
34 0.29 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.name AS name_3, t0.url AS url_4, t0.apocryphal AS apocryphal_5, t0.deuterocanonical AS deuterocanonical_6, t0.testament_id AS testament_id_7 FROM canonicalbiblebook t0 WHERE t0.id = ?
Parameters:
[
  62
]
35 0.29 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.book_id AS book_id_3 FROM canonicalbiblechapter t0 WHERE t0.book_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  62
]
36 0.26 ms
select id from language where shortcode = 'es'
Parameters:
[]
37 0.17 ms
select language_id from bibletranslation where url = 'world-english-bible'
Parameters:
[]
38 0.17 ms
select show_bible_chapter_summary from language where id = 123
Parameters:
[]
39 3.14 ms
SELECT bs.chapter_id, t.id as translation_id, t.url, t.is_modern, t.translatedtitle as explanationtitle, case when t.language_id = 123 then 2 else case when t.language_id = 401 then 3 else 6 end  end as lang_order FROM expositionwork w, expositiontranslation t, expositiontranslationtext tt, story_work sw, biblestory bs WHERE bs.chapter_id = 1139 and sw.story_id = bs.id and w.id = sw.work_id and t.work_id=w.id and t.id = tt.translation_id and tt.text is not null and tt.text <> '' and (t.language_id in (123,401)) and w.ispublic AND t.ispublic order by lang_order, t.is_modern desc, t.islanguagedefault desc limit 1
Parameters:
[]
40 1.34 ms
SELECT c.id, t.url as translation_url, cb.url as book_url, c.ordering as chapter_order, 'bible' || '_' || t.url || '_' || cb.url  || '_' || c.ordering as chapter_multi_spec, b.name as book_name FROM bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb WHERE c.book_id in (select book_id from biblechapter where id = 5965) and c.ordering > (select ordering from biblechapter where id = 5965) and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id order by c.ordering limit 1
Parameters:
[]
41 1.24 ms
SELECT c.id, t.url as translation_url, cb.url as book_url, c.ordering as chapter_order, 'bible' || '_' || t.url || '_' || cb.url  || '_' || c.ordering as chapter_multi_spec, b.name as book_name FROM bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb WHERE c.book_id in (select book_id from biblechapter where id = 5965) and c.ordering < (select ordering from biblechapter where id = 5965) and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id order by c.ordering desc limit 1
Parameters:
[]
42 0.53 ms
SELECT id FROM bibleverse WHERE verse_id = 160698 and chapter_id in (select chapter_id from bibleverse where id = 160698) and indexdisplay like '%-%' limit 1
Parameters:
[]
43 5.44 ms
SELECT c.id, t.url as translation_url, cb.url as book_url, c.ordering as chapter_order, (case when v2.indexdisplay is not null and v.indexdisplay not like '%-%' then v.indexdisplay else null end) as subverse_index, (case when v2.indexdisplay is not null then case when v.indexdisplay like '%-%' then v2.indexdisplay else v2.indexdisplay || v.indexdisplay end else v.indexdisplay end) as verse_label, (case when v2.indexdisplay is not null then v2.indexdisplay else v.indexdisplay end) as verse_index, v.id as verse_id, 'bible' || '_' || t.url || '_' || cb.url || '_' || c.ordering || '_' || (case when v2.indexdisplay is not null then v2.indexdisplay else '' end) || v.indexdisplay as verse_multi_spec, b.name as book_name FROM bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb, bibleverse v left join bibleverse v2 on v.verse_id = v2.id WHERE c.book_id in (select book_id from biblechapter where id in (select chapter_id from bibleverse where id = 160698)) and v.chapter_id = c.id and v.ordering > (select ordering from bibleverse where id = 160698) and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id and (v.verse_id is null or v.indexdisplay like '%-%') order by v.ordering limit 1
Parameters:
[]
44 0.50 ms
SELECT id FROM bibleverse WHERE verse_id = 160698 and chapter_id in (select chapter_id from bibleverse where id = 160698) and indexdisplay like '%-%' limit 1
Parameters:
[]
45 4.35 ms
SELECT c.id, t.url as translation_url, cb.url as book_url, c.ordering as chapter_order, (case when v2.indexdisplay is not null and v.indexdisplay not like '%-%' then v.indexdisplay else null end) as subverse_index, (case when v2.indexdisplay is not null then case when v.indexdisplay like '%-%' then v2.indexdisplay else v2.indexdisplay || v.indexdisplay end else v.indexdisplay end) as verse_label, (case when v2.indexdisplay is not null then v2.indexdisplay else v.indexdisplay end) as verse_index, v.id as verse_id, 'bible' || '_' || t.url || '_' || cb.url || '_' || c.ordering || '_' || (case when v2.indexdisplay is not null then v2.indexdisplay else '' end) || v.indexdisplay as verse_multi_spec, b.name as book_name FROM bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb, bibleverse v left join bibleverse v2 on v.verse_id = v2.id WHERE c.book_id in (select book_id from biblechapter where id in (select chapter_id from bibleverse where id = 160698)) and v.chapter_id = c.id and v.ordering < (select ordering from bibleverse where id = 160698) and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id and (v.verse_id is null or v.indexdisplay like '%-%') order by v.ordering desc limit 1
Parameters:
[]
46 2.97 ms
SELECT t.id, (case when l.nativename is not null and l.nativename <> '' then l.nativename else l.name end) as language_name, t.name, t.url, l.righttoleft, b.id as book_id, b.name as book_name, cb.url as canonical_book_url, case when l.id = 123 then 1 else 2 end as lang_ordering, case when t.languagedefault then 1 else 2 end as trans_ordering, l.id as language_id, t.abbreviation FROM language l, bibletranslation t, biblebook b, biblechapter c, canonicalbiblebook cb WHERE t.url = 'world-english-bible' and c.book_id = b.id and b.canonicalization_id = cb.id and b.translation_id = t.id and t.enabled and t.language_id = l.id order by lang_ordering, trans_ordering limit 1
Parameters:
[]
47 0.20 ms
SELECT ordering FROM biblechapter WHERE book_id = 387 and ordering = 7 limit 1
Parameters:
[]
48 0.44 ms
SELECT v.indexdisplay FROM bibleverse v, biblechapter c WHERE c.book_id = 387 and c.ordering = 7 and v.chapter_id = c.id and v.indexdisplay = '35' limit 1
Parameters:
[]
49 0.28 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.book_id AS book_id_3 FROM biblechapter t0 WHERE t0.book_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  387
]
50 0.48 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.chapter_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  5965
]
51 0.29 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160732
]
52 0.26 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160731
]
53 0.26 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160730
]
54 0.25 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160729
]
55 0.25 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160728
]
56 0.24 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160727
]
57 0.24 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160726
]
58 0.24 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160725
]
59 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160724
]
60 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160723
]
61 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160722
]
62 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160721
]
63 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160720
]
64 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160719
]
65 0.33 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160718
]
66 0.23 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160717
]
67 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160716
]
68 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160715
]
69 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160714
]
70 0.25 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160713
]
71 0.24 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160712
]
72 0.23 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160711
]
73 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160710
]
74 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160709
]
75 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160708
]
76 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160707
]
77 0.20 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160706
]
78 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160705
]
79 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160704
]
80 0.23 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160703
]
81 0.28 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160702
]
82 0.23 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160701
]
83 0.22 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160700
]
84 0.23 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160699
]
85 0.21 ms
SELECT t0.id AS id_1, t0.indexDisplay AS indexdisplay_2, t0.ordering AS ordering_3, t0.content AS content_4, t0.contentVector AS contentvector_5, t0.chapter_id AS chapter_id_6, t0.verse_id AS verse_id_7 FROM bibleverse t0 WHERE t0.verse_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  160698
]
86 1.04 ms
select t.language_id, l.bibliographiccode, c.book_id, b.translation_id, v.chapter_id from bibleverse v, biblechapter c, biblebook b, bibletranslation t, language l where v.id = 160698 and v.chapter_id = c.id and c.book_id = b.id and b.translation_id = t.id and t.language_id = l.id
Parameters:
[]
87 1.67 ms
select string_agg(distinct cv.id::text, ',') as cverse_ids, string_agg(distinct cc.id::text, ',') as cchapter_ids, string_agg(distinct cc.ordering::text, ',' order by cc.ordering::text) as cchapter_orders from canonicalbibleverse cv, canonicalbiblechapter cc, canonicalbiblebook cb, bibleverse v, (select * from canonicalbibleverse_bibleverse where bibleverse_id in (160698)) as cvv where v.id in (160698) and v.id = cvv.bibleverse_id and cv.id = cvv.canonicalbibleverse_id and cv.chapter_id = cc.id
Parameters:
[]
88 0.25 ms
select array_to_string(array_agg(distinct chapter_id), ',') from canonicalbibleverse where id in (29018)
Parameters:
[]
89 0.37 ms
select array_to_string(array_agg(id), ',') from canonicalbiblechapter where id in (1139) and id not in (select distinct chapter_id from canonicalbibleverse where chapter_id in (1139) and id not in (29018))
Parameters:
[]
90 5.48 ms
select * from (SELECT distinct on (p.id) p.id, w.swedenborgtype, t.translatedtitle AS title, p.swedenborgsection as num, 'swedenborg' || '_' || t.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as ref_column_spec, t.url as translation_url, d.url as division_url, w.ordering as work_order, p.ordering, case when t.language_id = 123 then 1 else 2 end as lang_order FROM expositionwork w, expositiontranslation t, expositionpassage p, expositiondivision d WHERE  p.id in (SELECT DISTINCT passage_id FROM verse_passage WHERE  verse_id in (29018)) and p.id not  in (SELECT DISTINCT passage_id FROM chapter_passage WHERE chapter_id in (1139) union SELECT DISTINCT passage_id FROM verse_passage WHERE  verse_id in (29018) and iscorepassage) and w.swedenborgtype is not null and t.work_id=w.id and d.work_id = w.id and p.division_id = d.id and t.id in (SELECT distinct on (w.id) t.id FROM expositionwork w, expositiontranslation t, expositionpassage p, expositiondivision d WHERE  p.id in (SELECT DISTINCT passage_id FROM verse_passage WHERE  verse_id in (29018)) and p.id not  in (SELECT DISTINCT passage_id FROM chapter_passage WHERE chapter_id in (1139) union SELECT DISTINCT passage_id FROM verse_passage WHERE  verse_id in (29018) and iscorepassage) and t.work_id=w.id and d.work_id = w.id and p.division_id = d.id and t.language_id in ( 123,123) and t.ispublic and w.ispublic and t.url is not null and t.url <> '' AND t.type_id = 1 order by w.id, t.islanguagedefault desc limit 1) order by p.id, lang_order) as t2 order by work_order, title, ordering
Parameters:
[]
91 0.36 ms
SELECT chapter_id, min(ordering) as min_order, max(ordering) as max_order from canonicalbibleverse WHERE id in (29018) group by chapter_id
Parameters:
[]
92 3.84 ms
select * from (SELECT distinct on (s.id) s.id, s.title, e.description, e.youtube_id, sr.time, s.showtype_id, e.location, case when e.youtube_id is null then 2 else 1 end as video_order, cc.ordering as chapter_order, cb1.ordering as start_verse, cb2.ordering as end_verse, case when e.youtube_id is null then 2 else 1 end as video_order1 FROM show s, embed e, show_bibleref sr left join canonicalbibleverse as cb1 on from_verse_id = cb1.id  left join canonicalbibleverse as cb2 on to_verse_id = cb2.id  left join canonicalbiblechapter as cc on sr.chapter_id = cc.id  WHERE (  (sr.chapter_id in (1139) and from_verse_id is null and to_verse_id is null) or ( to_verse_id is null and sr.from_verse_id in (29018) ) or ( to_verse_id is not null and sr.chapter_id = 1139 and cb1.ordering <= 35 and cb2.ordering >= 35 )) and s.id = sr.show_id and e.visibilitydefault and s.embed_id = e.id limit 1) as t order by video_order1
Parameters:
[]
93 0.32 ms
SELECT 'http://qbible.com/greek-new-testament/' || qbible_url || '/' || '7' || '.html#' || '1' as url from canonicalbiblebook WHERE id = 62 and qbible_url is not null and qbible_url <> ''
Parameters:
[]
94 2.35 ms
SELECT r.title as name, ('/bundles/ncbsw/resource/publicfile/' || r.publicfile) as public_file, 1 as ordering from resource r, resource_bibleref rb, canonicalbiblechapter cc WHERE rb.book_id = 62 and r.publicfile like 'dbsn%' and r.id = rb.resource_id and cc.id = rb.chapter_id and cc.ordering = 7 and r.publish union SELECT name, ('/bundles/ncbsw/translation/' || public_file) as public_file, 2 as ordering from expositiontranslation WHERE id in (select translation_id from expositiontranslationref where book_id = 62) and type_id = 2 and ispublic and public_file is not null order by ordering, name
Parameters:
[]
95 0.21 ms
select id from language where shortcode = 'es'
Parameters:
[]
96 74.40 ms
SELECT v.id, cv.ordering as verse_order, scc.ordering as chapter_order, t.id as translation_id, scc.id as cchapter_id, v.chapter_id, 'bible' || '_' || bt.url || '_' || cb.url  || '_' || c.ordering  || '_' || v.indexdisplay as bible_spec, 'explanation' || '_' || t.url as explanation_spec, bt.url as bible_trans_url, cb.url as book_url, v.indexdisplay as verse_index, case when t.language_id = 123 then 1 else case when t.language_id = 401 then 2 end  end as lang_order, bt.language_id FROM (select * from biblestory where level_id = 2) as bs, canonicalbibleverse cv, (select * from canonicalbibleverse_bibleverse where bibleverse_id in (160698)) as cvv,  canonicalbiblechapter scc, expositionwork w, expositiontranslation t, expositiontranslationtext tt, story_work sw, biblechapter c, biblebook b, bibletranslation bt, canonicalbiblebook cb, bibleverse v WHERE w.ispublic and t.ispublic and t.language_id in (123,401) and v.id = cvv.bibleverse_id and cv.id = cvv.canonicalbibleverse_id and bs.startverse_id = cv.id and cv.chapter_id = scc.id and v.verse_id is null and sw.story_id = bs.id and w.id = sw.work_id and t.work_id=w.id and v.chapter_id = c.id and b.id = c.book_id and b.translation_id=bt.id and scc.book_id = cb.id and t.id = tt.translation_id and tt.text is not null and tt.text <> '' order by cv.ordering, lang_order, t.is_modern desc, w.ordering, t.islanguagedefault desc limit 1
Parameters:
[]
97 0.95 ms
select t.language_id, l.bibliographiccode, c.book_id, b.translation_id, v.chapter_id from bibleverse v, biblechapter c, biblebook b, bibletranslation t, language l where v.id = 160698 and v.chapter_id = c.id and c.book_id = b.id and b.translation_id = t.id and t.language_id = l.id
Parameters:
[]
98 0.39 ms
select show_bible_verse_highlights from language where id = 123
Parameters:
[]
99 35.20 ms
select * from (SELECT distinct on (verse_id, term_text) * from (select cbb.bibleverse_id as verse_id, t.id as term_id, lower(t.text) as term_text, c.url as concept_url, char_length(t.text) as text_len, ct.translatedtitle as title, ct.explanation_id, c.id as concept_id FROM verse_concept vc, term_concept tc, term t, concept c, (select * from canonicalbibleverse_bibleverse where bibleverse_id in (160698)) as cbb, bibleverse bv, (select distinct on (cl.concept_id) cl.concept_id, trans.translatedtitle, trans.id as explanation_id from concept_work cl, expositiontranslation trans where trans.language_id = 123 and cl.work_id = trans.work_id) as ct  WHERE cbb.canonicalbibleverse_id = vc.verse_id and tc.concept_id = vc.concept_id and t.id = tc.term_id and c.id = tc.concept_id and t.language_id = 123 and ct.concept_id = c.id and cbb.bibleverse_id = bv.id and case when t.text is not null and (bv.content ~* ('\y' || replace(replace(replace(replace(t.text, ')', '\)'), '(', '\('), ']', '\]'), '[', '\[') || '\y')) then true else false end order by cbb.bibleverse_id, lower(t.text), term_id) as t1) as t order by verse_id, char_length(term_text) desc
Parameters:
[]
100 0.33 ms
SELECT t0.id AS id_1, t0.translatedTitle AS translatedtitle_2, t0.name AS name_3, t0.description AS description_4, t0.url AS url_5, t0.isPublic AS ispublic_6, t0.audience AS audience_7, t0.isOriginal AS isoriginal_8, t0.isLanguageDefault AS islanguagedefault_9, t0.type_id AS type_id_10, t0.translationmethod_id AS translationmethod_id_11, t0.public_file AS public_file_12, t0.doc_link AS doc_link_13, t0.work_id AS work_id_14, t0.language_id AS language_id_15 FROM expositiontranslation t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  63318
]
101 0.17 ms
SELECT text_style_override  FROM language WHERE id = 63318
Parameters:
[]
102 0.16 ms
select translationmethod_id from expositiontranslation where id = 63318
Parameters:
[]
103 0.37 ms
select t2.id from expositiontranslation t1, expositiontranslation t2 where t1.id = 63318 and t1.work_id = t2.work_id and t2.isoriginal order by case when t2.language_id = 123 then 1 else 2 end
Parameters:
[]
104 0.55 ms
SELECT array_to_string(array_agg( (CASE WHEN p.name is not null then p.name else (case when p.title is null then '' else p.title || ' ' end) || (case when p.firstname is null then '' else p.firstname || ' ' end) || (case when p.middlename is null then '' else p.middlename || ' ' end) || (case when p.lastname is null then '' else p.lastname || ' ' end) || (case when p.suffix is null then '' else p.suffix || ' ' end) end) ), ', ') as authors  FROM translation_bibliographicdata tbg, bibliographicdata_person bp, person p WHERE tbg.translation_id = 63318 and tbg.bibliographicdata_id = bp.bibliographicdata_id and bp.person_id = p.id
Parameters:
[]
105 0.26 ms
SELECT t.name FROM texttospeech t, texttospeechlanguage tl WHERE tl.language_id = 123 and t.id = tl.tts_id order by tl.is_standard desc limit 1
Parameters:
[]
106 0.15 ms
select language_id from expositiontranslation where id = 63318
Parameters:
[]
107 0.60 ms
select array_to_string(array_agg(DISTINCT d.ref_id),',') as ref from expositiontextunit t, expositiontranslationtext tt, expositiondisplayitem d where t.passage_id = 48196 and tt.translation_id = 63318 and t.id = tt.placement_id and d.container_id = tt.id and d.type_id = 2
Parameters:
[]
108 80.29 ms
select t3.* from  (select * from (SELECT distinct on (tc.textunit_id, rc.id) tc.textunit_id, rc.id as ref_id, rc.originallinktext as link_text, cc1.book_id, rb.startverse_id as startloc_id, rb.endverse_id as endloc_id, true as is_bibleref, 'bible_' || trans.url || '_' || cb.url || '_' || cc1.ordering || (case when cc1.id <> cc2.id then '-' || cc2.ordering else '' end) || '_' || cv1.ordering || (case when rb.startverse_id <> rb.endverse_id then '-' || cv2.ordering else '' end) as multilink_text, cc1.ordering as ordering1, cv1.ordering as ordering2, (case when trans.language_id = 123 then case when trans.languagedefault then 3 else 4 end end) as priority_order, cb.url as book_url, trans.url as trans_url, cc1.ordering as chapter_order1, cc2.ordering as chapter_order2, cv1.ordering as verse_order1, cv2.ordering as verse_order2, trans.url as div_url, 0 as passage_order  FROM refbible rb, refcombined rc, textunit_combinedreference tc, expositiontextunit t, canonicalbibleverse cv1, canonicalbiblechapter cc1, canonicalbiblebook cb, canonicalbibleverse_bibleverse cbb1, bibleverse v1, biblechapter c1, canonicalbibleverse cv2, canonicalbiblechapter cc2, biblebook b, bibletranslation trans WHERE t.passage_id = 48196 and t.id = tc.textunit_id and rc.id = tc.combinedreference_id  and rc.id not in (493,1324,1517,2087,3647,3721,4329,4385,5162,5163,5420,5720,5721,6632,7702,10261,10977,13557,14062,15088,16757,17901,22169,24035,25024,27176,29780,30722,41387,43800,46431,48582,53768,60620,60763,65312,65354,65355,65356,65357,65360,65361,65362,65363,65365,65366,65367,65368,65369,65371,65372,65373,65374,65376,65380,65382,65491,96434,96436,96592,96853,106043,106598,107383,127192,146857,147035,148125,148126,148127,148128,148129,148130) and rb.container_id = rc.id and cv1.id = rb.startverse_id and cv1.chapter_id = cc1.id and cc1.book_id = cb.id and cv1.id = cbb1.canonicalbibleverse_id and v1.id = cbb1.bibleverse_id and v1.chapter_id = c1.id and c1.book_id = b.id and cv2.id = rb.endverse_id and cv2.chapter_id = cc2.id and b.translation_id = trans.id and trans.enabled order by tc.textunit_id, rc.id, priority_order asc, trans.languagedefault desc) as b union select * from (SELECT distinct on (tc.textunit_id, rc.id) tc.textunit_id, rc.id as ref_id, rc.originallinktext as link_text, d.work_id as book_id, re.startlocation_id as startloc_id, re.endlocation_id as endloc_id, false as is_bibleref, (case when w.swedenborgtype is not null then 'swedenborg_' else 'explanation_' end) || trans.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as multilink_text, p.ordering as ordering1, t2.ordering as ordering2, (case when trans.id = 63318 then 1 else case when trans.language_id = 123 then case when trans.islanguagedefault then 3 else 4 end end end) as priority_order, trans.url as book_url, trans.url as trans_url, 0 as chapter_order1, 0 as chapter_order2, 0 as verse_order1, 0 as verse_order2, d.url as div_url, p.ordering as passage_order FROM refexposition re, refcombined rc, textunit_combinedreference tc, expositiontextunit t, expositiontextunit t2, expositionpassage p, expositiondivision d, expositionwork w, expositiontranslation trans, expositiontranslationtext tt WHERE t.passage_id = 48196 and t.id = tc.textunit_id and rc.id = tc.combinedreference_id  and rc.id not in (493,1324,1517,2087,3647,3721,4329,4385,5162,5163,5420,5720,5721,6632,7702,10261,10977,13557,14062,15088,16757,17901,22169,24035,25024,27176,29780,30722,41387,43800,46431,48582,53768,60620,60763,65312,65354,65355,65356,65357,65360,65361,65362,65363,65365,65366,65367,65368,65369,65371,65372,65373,65374,65376,65380,65382,65491,96434,96436,96592,96853,106043,106598,107383,127192,146857,147035,148125,148126,148127,148128,148129,148130) and re.container_id = rc.id and t2.id = re.startlocation_id and p.id = t2.passage_id and d.id = p.division_id and d.work_id = w.id and w.id = trans.work_id and trans.url is not null and trans.ispublic and w.ispublic and t2.id = tt.placement_id and trans.id = tt.translation_id order by tc.textunit_id, rc.id, priority_order asc, trans.islanguagedefault desc, trans.isoriginal desc) as e) as t3 order by split_part(link_text, ' ', 1), book_id, ordering1, ordering2
Parameters:
[]
109 427.69 ms
select * from (SELECT distinct on (di.ref_id) di.ref_id, 'bible_' || trans.url || '_' || cb.url || '_' || cc1.ordering || (case when cc1.id <> cc2.id then '-' || cc2.ordering else '' end) || '_' || cv1.ordering || (case when rb.startverse_id <> rb.endverse_id then '-' || cv2.ordering else '' end) as multilink, true as is_bibleref, 1 as section_order, (case when trans.language_id in (select language_id from expositiontranslation where id = 63318) then 1 else case when trans.language_id = 123 then 2 else 3 end end ) as priority_order, cb.url as book_url, trans.url as trans_url, cc1.ordering as chapter_order1, cc2.ordering as chapter_order2, cv1.ordering as verse_order1, cv2.ordering as verse_order2, trans.url as div_url, 0 as passage_order FROM refbible rb, expositiontextunit t, expositiontranslationtext tt, expositiondisplayitem di, canonicalbibleverse cv1, canonicalbiblechapter cc1, canonicalbiblebook cb, canonicalbibleverse cv2, canonicalbiblechapter cc2, biblebook b, bibletranslation trans  WHERE t.passage_id = 48196 and t.id = tt.placement_id and rb.container_id = di.ref_id and di.container_id = tt.id and di.ref_id is not null and cv1.id = rb.startverse_id and cv1.chapter_id = cc1.id and cc1.book_id = cb.id and cv2.id = rb.endverse_id and cv2.chapter_id = cc2.id and b.canonicalization_id = cb.id and b.translation_id = trans.id and trans.enabled order by di.ref_id, priority_order asc, trans.languagedefault desc) as b union select * from (SELECT distinct on (di.ref_id) di.ref_id, (case when w.swedenborgtype is not null then 'swedenborg' else 'explanation' end) || '_' || trans.url || (case when p.swedenborgsection is not null then '_' || p.swedenborgsection else '' end) as multilink, false as is_bibleref, t2.ordering as section_order,  (case when trans.id = 63318 then 1 else case when trans.language_id in (select language_id from expositiontranslation where id = 63318) then 2 else case when trans.language_id = 123 then 3 else 4 end end end) as priority_order, trans.url as book_url, trans.url as trans_url, 0 as chapter_order1, 0 as chapter_order2, 0 as verse_order1, 0 as verse_order2, d.url as div_url, p.ordering as passage_order FROM refexposition re, expositiontextunit t, expositiontextunit t2, expositionpassage p, expositiondivision d, expositiontranslationtext tt, expositiondisplayitem di, expositionwork w, expositiontranslation trans WHERE t.passage_id = 48196 and t2.id = re.startlocation_id and p.id = t2.passage_id and d.id = p.division_id and re.container_id = di.ref_id and t.id = tt.placement_id and di.container_id = tt.id and di.ref_id is not null and d.work_id = w.id and w.id = trans.work_id and trans.url is not null and trans.ispublic and w.ispublic order by di.ref_id, priority_order asc, trans.islanguagedefault desc, trans.isoriginal desc) as e
Parameters:
[]
110 23.55 ms
SELECT t.id, (case when l.nativename is not null and l.nativename <> '' then l.nativename else l.name end) as language_name, t.name as name, t.url, bk.url as first_book_url, (case when l.nativename is not null and l.nativename <> '' then l.nativename else l.name end) as group_name, (case when language_id = 123 then 1 else 2 end) as group_order, true as has_book, true as has_chapter, l.righttoleft FROM language l, bibletranslation t join ( select distinct on (t2.id) t2.id as translation_id, cb.url from bibletranslation t2, biblebook b, canonicalbiblebook cb where b.translation_id = t2.id and cb.id = b.canonicalization_id order by t2.id, b.ordering) as bk on t.id = bk.translation_id WHERE t.enabled and t.language_id = l.id and t.id in (select distinct translation_id from biblebook b3, biblechapter c3, bibleverse v3 where b3.canonicalization_id = 62 and c3.book_id = b3.id and c3.ordering = 7 and v3.chapter_id = c3.id and v3.indexdisplay = '35') order by group_order, language_name, t.name
Parameters:
[]
111 0.21 ms
SELECT text_style_override  FROM language WHERE id = 123
Parameters:
[]
112 0.29 ms
SELECT t.name FROM texttospeech t, texttospeechlanguage tl WHERE tl.language_id = 123 and t.id = tl.tts_id order by tl.is_standard desc limit 1
Parameters:
[]
113 0.23 ms
SELECT credit from bibletranslation WHERE url = 'world-english-bible'
Parameters:
[]
114 0.18 ms
select show_bible_verse_highlights from language where id = 123
Parameters:
[]
115 0.37 ms
SELECT w.book_id FROM expositionwork w, expositiontranslation t where t.id = 63318 and t.work_id = w.id limit 1
Parameters:
[]
116 10.74 ms
select distinct on (chapter_order) * from (SELECT t.id as translation_id, t.url as translation_url, bs.name as explanationtitle, 'explanation' || '_' || t.url as explanation_spec, cbc.ordering as chapter_order, case when t.language_id = 123 then 1 else case when t.language_id = 123 then 2 end end as lang_order, case when t.id = 63318 then 1 else case when t.language_id = 123 then 2 else case when t.islanguagedefault then 3 else 4 end end end as trans_order, w.id as work_id, bs.id as story_id, t.language_id, (case when l.nativename is not null and l.nativename <> '' then l.nativename else l.name end) as language_name FROM expositionwork w, expositiontranslation t, story_work sw, biblestory bs, canonicalbiblechapter cbc, language l WHERE bs.chapter_id in (select id from canonicalbiblechapter where book_id in (select book_id from biblestory bs2, story_work sw2, canonicalbiblechapter cbc2 where sw2.work_id = 11266 and sw2.story_id = bs2.id and cbc2.id = bs2.chapter_id)) and sw.story_id = bs.id and w.id = sw.work_id and t.work_id=w.id and cbc.id = bs.chapter_id and t.language_id = l.id and w.ispublic AND t.ispublic order by cbc.ordering, lang_order, trans_order, t.is_modern desc, sw.ordering) as t
Parameters:
[]
117 0.37 ms
select case when w.swedenborgtype is null then false else true end as sw from expositionwork w, expositiontranslation t where t.id = 63318 and t.work_id = w.id
Parameters:
[]
118 0.58 ms
select shortcode, (case when nativename is not null and nativename <> '' then nativename else name end) as name FROM language where shortcode in ('en','sq','bg','zh','hr','cs','nl','fr','ka','de','hi','it','ja','ko','la','mk','ml','me','pt','ru','sr','es','sv','tl','uk','zu')
Parameters:
[]
119 0.55 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.url AS url_4, t0.indexPage AS indexpage_5 FROM expositioncategory t0 INNER JOIN translation_category ON t0.id = translation_category.category_id WHERE translation_category.translation_id = ?
Parameters:
[
  63318
]
120 0.30 ms
SELECT t0.id AS id_1, t0.languageDefault AS languagedefault_2, t0.name AS name_3, t0.abbreviation AS abbreviation_4, t0.copyright AS copyright_5, t0.notice AS notice_6, t0.license AS license_7, t0.url AS url_8, t0.enabled AS enabled_9, t0.language_id AS language_id_10 FROM bibletranslation t0 WHERE t0.id = ?
Parameters:
[
  9
]
121 0.28 ms
SELECT t0.id AS id_1, t0.siteDefault AS sitedefault_2, t0.name AS name_3, t0.frenchName AS frenchname_4, t0.nativeName AS nativename_5, t0.bibliographicCode AS bibliographiccode_6, t0.terminologicCode AS terminologiccode_7, t0.shortCode AS shortcode_8, t0.rightToLeft AS righttoleft_9, t0.searchLibrary AS searchlibrary_10 FROM language t0 WHERE t0.id = ?
Parameters:
[
  123
]
122 0.35 ms
SELECT t0.id AS id_1, t0.translatedTitle AS translatedtitle_2, t0.name AS name_3, t0.description AS description_4, t0.url AS url_5, t0.isPublic AS ispublic_6, t0.audience AS audience_7, t0.isOriginal AS isoriginal_8, t0.isLanguageDefault AS islanguagedefault_9, t0.type_id AS type_id_10, t0.translationmethod_id AS translationmethod_id_11, t0.public_file AS public_file_12, t0.doc_link AS doc_link_13, t0.work_id AS work_id_14, t0.language_id AS language_id_15 FROM expositiontranslation t0 WHERE t0.work_id = ?
Parameters:
[
  11266
]
123 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.isPublic AS ispublic_4, t0.level_id AS level_id_5, t0.startVerse_id AS startverse_id_6, t0.endVerse_id AS endverse_id_7, t0.chapter_id AS chapter_id_8 FROM biblestory t0 INNER JOIN story_work ON t0.id = story_work.story_id WHERE story_work.work_id = ?
Parameters:
[
  11266
]
124 0.41 ms
SELECT t0.id AS id_1, t0.story_id AS story_id_2, t0.image_id AS image_id_3 FROM storyillustration t0 WHERE t0.story_id = ?
Parameters:
[
  1407
]
125 0.64 ms
SELECT t0.id AS id_1, t0.width AS width_2, t0.height AS height_3, t0.location AS location_4, t0.isLocal AS islocal_5, t0.alt AS alt_6, t0.copyright AS copyright_7, t0.notice AS notice_8, t0.license AS license_9, t0.youtube_id AS youtube_id_10, t0.visibilityDefault AS visibilitydefault_11, t0.language_id AS language_id_12 FROM embed t0 INNER JOIN story_embed ON t0.id = story_embed.embed_id WHERE story_embed.story_id = ?
Parameters:
[
  1407
]
126 1.03 ms
SELECT t0.id AS id_1, t0.recordNumber AS recordnumber_2, t0.file AS file_3, t0.title AS title_4, t0.description AS description_5, t0.author AS author_6, t0.credit AS credit_7, t0.link AS link_8, t0.date AS date_9, t0.license AS license_10, t0.width AS width_11, t0.height AS height_12, t0.language_id AS language_id_13, t0.mediatype_id AS mediatype_id_14 FROM image t0 INNER JOIN textunit_image ON t0.id = textunit_image.image_id WHERE textunit_image.textunit_id = ?
Parameters:
[
  86810
]
127 0.96 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.container_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  5843221
]
128 1.08 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232611
]
129 0.30 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232625
]
130 0.26 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232629
]
131 0.30 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232633
]
132 0.29 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232635
]
133 0.26 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232645
]
134 0.48 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232675
]
135 0.28 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232681
]
136 0.26 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232683
]
137 0.25 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232687
]
138 0.33 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232697
]
139 0.30 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232717
]
140 0.28 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232729
]
141 0.61 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.flags AS flags_3, t0.searchable AS searchable_4, t0.text AS text_5, t0.type_id AS type_id_6, t0.container_id AS container_id_7, t0.containingItem_id AS containingitem_id_8, t0.ref_id AS ref_id_9, t0.image_id AS image_id_10, t0.embed_id AS embed_id_11 FROM expositiondisplayitem t0 WHERE t0.containingItem_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  58232757
]
142 0.60 ms
SELECT t0.id AS id_1, t0.ordering AS ordering_2, t0.passage_id AS passage_id_3, t0.embed_id AS embed_id_4 FROM passage_media t0 WHERE t0.passage_id = ? ORDER BY t0.ordering ASC
Parameters:
[
  48196
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
NCBS\WebsiteBundle\Entity\Exposition\Translation No errors.
NCBS\WebsiteBundle\Entity\Exposition\Work No errors.
NCBS\WebsiteBundle\Entity\Language No errors.
NCBS\WebsiteBundle\Entity\Bibliographic\BibliographicData No errors.
NCBS\WebsiteBundle\Entity\Exposition\Category No errors.
NCBS\WebsiteBundle\Entity\Bible\Stories\Story No errors.
NCBS\WebsiteBundle\Entity\Exposition\Division No errors.
NCBS\WebsiteBundle\Entity\Exposition\Passage No errors.
NCBS\WebsiteBundle\Entity\Exposition\TextUnit No errors.
NCBS\WebsiteBundle\Entity\Relation\PassageMedia No errors.
NCBS\WebsiteBundle\Entity\Exposition\TranslationText No errors.
NCBS\WebsiteBundle\Entity\Reference\CombinedReference No errors.
NCBS\WebsiteBundle\Entity\Media\Image No errors.
NCBS\WebsiteBundle\Entity\Exposition\DisplayItem No errors.
NCBS\WebsiteBundle\Entity\Exposition\Collection No errors.
NCBS\WebsiteBundle\Entity\Bible\Verse No errors.
NCBS\WebsiteBundle\Entity\Bible\Chapter No errors.
NCBS\WebsiteBundle\Entity\Bible\Canonical\Verse No errors.
NCBS\WebsiteBundle\Entity\Bible\Book No errors.
NCBS\WebsiteBundle\Entity\Bible\Translation No errors.
NCBS\WebsiteBundle\Entity\Bible\Canonical\Book No errors.
NCBS\WebsiteBundle\Entity\Bible\Canonical\Testament No errors.
NCBS\WebsiteBundle\Entity\Bible\Canonical\Chapter No errors.
NCBS\WebsiteBundle\Entity\Relation\StoryIllustration No errors.
NCBS\WebsiteBundle\Entity\Media\Embed No errors.