10.00 ms (56.30%)
|
20 |
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.due_date AS due_date_3, t0.actual_return_date AS actual_return_date_4, t0.status AS status_5, t0.notes AS notes_6, t0.extension_requested AS extension_requested_7, t0.extension_requested_until AS extension_requested_until_8, t0.extension_note AS extension_note_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.article_id AS article_id_12, t0.user_id AS user_id_13, t0.handed_out_by_id AS handed_out_by_id_14, t0.returned_to_id AS returned_to_id_15, t0.created_by_id AS created_by_id_16 FROM loan t0 WHERE t0.article_id = ? ORDER BY t0.start_date DESC
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.due_date AS due_date_3, t0.actual_return_date AS actual_return_date_4, t0.status AS status_5, t0.notes AS notes_6, t0.extension_requested AS extension_requested_7, t0.extension_requested_until AS extension_requested_until_8, t0.extension_note AS extension_note_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.article_id AS article_id_12, t0.user_id AS user_id_13, t0.handed_out_by_id AS handed_out_by_id_14, t0.returned_to_id AS returned_to_id_15, t0.created_by_id AS created_by_id_16 FROM loan t0 WHERE t0.article_id = 124 ORDER BY t0.start_date DESC;
|
3.36 ms (18.89%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.access_role AS access_role_6 FROM article_type t0 WHERE t0.slug = ? LIMIT 1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.access_role AS access_role_6 FROM article_type t0 WHERE t0.slug = 'device' LIMIT 1;
|
2.10 ms (11.84%)
|
6 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.parent_id AS parent_id_5, t0.article_type_id AS article_type_id_6 FROM category t0 WHERE t0.parent_id = ? ORDER BY t0.name ASC
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.parent_id AS parent_id_5, t0.article_type_id AS article_type_id_6 FROM category t0 WHERE t0.parent_id = 11 ORDER BY t0.name ASC;
|
0.73 ms (4.09%)
|
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.description AS description_3, c0_.parent_id AS parent_id_4, c0_.article_type_id AS article_type_id_5 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.article_type_id = ? ORDER BY c0_.name ASC
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.description AS description_3, c0_.parent_id AS parent_id_4, c0_.article_type_id AS article_type_id_5 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.article_type_id = 1 ORDER BY c0_.name ASC;
|
0.69 ms (3.90%)
|
1 |
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.inventory_number AS inventory_number_2, a0_.image AS image_3, a0_.description AS description_4, a0_.notes AS notes_5, a0_.status AS status_6, a0_.restrict_to_role AS restrict_to_role_7, a0_.created_at AS created_at_8, a0_.updated_at AS updated_at_9, a0_.article_type_id AS article_type_id_10, a0_.category_id AS category_id_11, a0_.created_by_id AS created_by_id_12 FROM article a0_ INNER JOIN article_type a1_ ON a0_.article_type_id = a1_.id WHERE a1_.slug = ? AND a0_.status <> ? AND a0_.category_id = ? ORDER BY a0_.name ASC
Parameters: [
"device"
"decommissioned"
7
]
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.inventory_number AS inventory_number_2, a0_.image AS image_3, a0_.description AS description_4, a0_.notes AS notes_5, a0_.status AS status_6, a0_.restrict_to_role AS restrict_to_role_7, a0_.created_at AS created_at_8, a0_.updated_at AS updated_at_9, a0_.article_type_id AS article_type_id_10, a0_.category_id AS category_id_11, a0_.created_by_id AS created_by_id_12 FROM article a0_ INNER JOIN article_type a1_ ON a0_.article_type_id = a1_.id WHERE a1_.slug = 'device' AND a0_.status <> 'decommissioned' AND a0_.category_id = 7 ORDER BY a0_.name ASC;
|
0.46 ms (2.59%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.access_role AS access_role_6 FROM article_type t0 ORDER BY t0.name ASC
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.icon AS icon_5, t0.access_role AS access_role_6 FROM article_type t0 ORDER BY t0.name ASC;
|
0.42 ms (2.39%)
|
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.first_name AS first_name_3, t0.last_name AS last_name_4, t0.roles AS roles_5, t0.password AS password_6, t0.shibboleth_id AS shibboleth_id_7, t0.enabled AS enabled_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.last_login_at AS last_login_at_11 FROM app_user t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.email AS email_2, t0.first_name AS first_name_3, t0.last_name AS last_name_4, t0.roles AS roles_5, t0.password AS password_6, t0.shibboleth_id AS shibboleth_id_7, t0.enabled AS enabled_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.last_login_at AS last_login_at_11 FROM app_user t0 WHERE t0.id = 4;
|