22.46 ms (36.39%)
|
14 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.icon AS icon_2, c0_.color AS color_3, c0_.is_system AS is_system_4, c0_.created_at AS created_at_5, c0_.family AS family_6, c0_.user_id AS user_id_7 FROM category c0_ WHERE c0_.user_id = ? OR c0_.user_id IS NULL ORDER BY c0_.family ASC, c0_.id ASC
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.icon AS icon_2, c0_.color AS color_3, c0_.is_system AS is_system_4, c0_.created_at AS created_at_5, c0_.family AS family_6, c0_.user_id AS user_id_7 FROM category c0_ WHERE c0_.user_id = 1 OR c0_.user_id IS NULL ORDER BY c0_.family ASC, c0_.id ASC;
|
14.77 ms (23.93%)
|
13 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.budget_limit AS budget_limit_3, t0.created_at AS created_at_4, t0.color AS color_5, t0.is_closed AS is_closed_6, t0.user_id AS user_id_7 FROM project t0 WHERE t0.user_id = ? AND t0.is_closed = ? ORDER BY t0.name ASC
SELECT t0.id AS id_1, t0.name AS name_2, t0.budget_limit AS budget_limit_3, t0.created_at AS created_at_4, t0.color AS color_5, t0.is_closed AS is_closed_6, t0.user_id AS user_id_7 FROM project t0 WHERE t0.user_id = 1 AND t0.is_closed = 0 ORDER BY t0.name ASC;
|
8.52 ms (13.81%)
|
1 |
SELECT t0.id AS id_1, t0.transaction_date AS transaction_date_2, t0.label AS label_3, t0.amount AS amount_4, t0.notes AS notes_5, t0.external_reference AS external_reference_6, t0.reconciled_at AS reconciled_at_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.reason AS reason_10, t0.type AS type_11, t0.user_id AS user_id_12, t0.transfer_id AS transfer_id_13, t0.account_id AS account_id_14, t0.category_id AS category_id_15, t0.project_id AS project_id_16, t0.recurring_transaction_id AS recurring_transaction_id_17, t18.id AS id_19, t18.due_date AS due_date_20, t18.capital_amount AS capital_amount_21, t18.interest_amount AS interest_amount_22, t18.insurance_amount AS insurance_amount_23, t18.remaining_capital AS remaining_capital_24, t18.is_paid AS is_paid_25, t18.paid_at AS paid_at_26, t18.total_amount AS total_amount_27, t18.installment_number AS installment_number_28, t18.loan_id AS loan_id_29, t18.transaction_id AS transaction_id_30 FROM transaction t0 LEFT JOIN loan_installment t18 ON t18.transaction_id = t0.id WHERE t0.account_id = ?
SELECT t0.id AS id_1, t0.transaction_date AS transaction_date_2, t0.label AS label_3, t0.amount AS amount_4, t0.notes AS notes_5, t0.external_reference AS external_reference_6, t0.reconciled_at AS reconciled_at_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.reason AS reason_10, t0.type AS type_11, t0.user_id AS user_id_12, t0.transfer_id AS transfer_id_13, t0.account_id AS account_id_14, t0.category_id AS category_id_15, t0.project_id AS project_id_16, t0.recurring_transaction_id AS recurring_transaction_id_17, t18.id AS id_19, t18.due_date AS due_date_20, t18.capital_amount AS capital_amount_21, t18.interest_amount AS interest_amount_22, t18.insurance_amount AS insurance_amount_23, t18.remaining_capital AS remaining_capital_24, t18.is_paid AS is_paid_25, t18.paid_at AS paid_at_26, t18.total_amount AS total_amount_27, t18.installment_number AS installment_number_28, t18.loan_id AS loan_id_29, t18.transaction_id AS transaction_id_30 FROM transaction t0 LEFT JOIN loan_installment t18 ON t18.transaction_id = t0.id WHERE t0.account_id = 9;
|
3.72 ms (6.03%)
|
1 |
SELECT t0_.id AS id_0, t0_.transaction_date AS transaction_date_1, t0_.label AS label_2, t0_.amount AS amount_3, t0_.notes AS notes_4, t0_.external_reference AS external_reference_5, t0_.reconciled_at AS reconciled_at_6, t0_.created_at AS created_at_7, t0_.updated_at AS updated_at_8, t0_.reason AS reason_9, t0_.type AS type_10, t0_.user_id AS user_id_11, t0_.transfer_id AS transfer_id_12, t0_.account_id AS account_id_13, t0_.category_id AS category_id_14, t0_.project_id AS project_id_15, t0_.recurring_transaction_id AS recurring_transaction_id_16 FROM transaction t0_ WHERE t0_.account_id = ? AND t0_.transaction_date >= ? AND t0_.transaction_date <= ? ORDER BY t0_.transaction_date DESC LIMIT 50
Parameters: [
9
"2025-11-01 00:00:00"
"2025-11-30 00:00:00"
]
SELECT t0_.id AS id_0, t0_.transaction_date AS transaction_date_1, t0_.label AS label_2, t0_.amount AS amount_3, t0_.notes AS notes_4, t0_.external_reference AS external_reference_5, t0_.reconciled_at AS reconciled_at_6, t0_.created_at AS created_at_7, t0_.updated_at AS updated_at_8, t0_.reason AS reason_9, t0_.type AS type_10, t0_.user_id AS user_id_11, t0_.transfer_id AS transfer_id_12, t0_.account_id AS account_id_13, t0_.category_id AS category_id_14, t0_.project_id AS project_id_15, t0_.recurring_transaction_id AS recurring_transaction_id_16 FROM transaction t0_ WHERE t0_.account_id = 9 AND t0_.transaction_date >= '2025-11-01 00:00:00' AND t0_.transaction_date <= '2025-11-30 00:00:00' ORDER BY t0_.transaction_date DESC LIMIT 50;
|
3.23 ms (5.24%)
|
1 |
SELECT COUNT(t0_.id) AS sclr_0 FROM transaction t0_ WHERE t0_.account_id = ? AND t0_.transaction_date >= ? AND t0_.transaction_date <= ?
Parameters: [
9
"2025-11-01 00:00:00"
"2025-11-30 00:00:00"
]
SELECT COUNT(t0_.id) AS sclr_0 FROM transaction t0_ WHERE t0_.account_id = 9 AND t0_.transaction_date >= '2025-11-01 00:00:00' AND t0_.transaction_date <= '2025-11-30 00:00:00';
|
3.15 ms (5.11%)
|
1 |
SELECT COUNT(t0_.id) AS sclr_0 FROM transaction t0_ WHERE t0_.account_id = ? AND t0_.reconciled_at IS NULL
SELECT COUNT(t0_.id) AS sclr_0 FROM transaction t0_ WHERE t0_.account_id = 9 AND t0_.reconciled_at IS NULL;
|
1.35 ms (2.19%)
|
1 |
SELECT t0.id AS id_1, t0.label AS label_2, t0.amount AS amount_3, t0.type AS type_4, t0.frequency AS frequency_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.next_execution AS next_execution_8, t0.is_active AS is_active_9, t0.note AS note_10, t0.is_archived AS is_archived_11, t0.account_id AS account_id_12, t0.user_id AS user_id_13, t0.category_id AS category_id_14 FROM recurring_transaction t0 WHERE t0.user_id = ? AND t0.is_archived = ? AND t0.account_id = ? ORDER BY t0.label ASC
SELECT t0.id AS id_1, t0.label AS label_2, t0.amount AS amount_3, t0.type AS type_4, t0.frequency AS frequency_5, t0.start_date AS start_date_6, t0.end_date AS end_date_7, t0.next_execution AS next_execution_8, t0.is_active AS is_active_9, t0.note AS note_10, t0.is_archived AS is_archived_11, t0.account_id AS account_id_12, t0.user_id AS user_id_13, t0.category_id AS category_id_14 FROM recurring_transaction t0 WHERE t0.user_id = 1 AND t0.is_archived = 0 AND t0.account_id = 9 ORDER BY t0.label ASC;
|
1.31 ms (2.12%)
|
1 |
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.bank_name AS bank_name_2, a0_.type AS type_3, a0_.balance AS balance_4, a0_.color AS color_5, a0_.is_active AS is_active_6, a0_.created_at AS created_at_7, a0_.updated_at AS updated_at_8, a0_.subtype AS subtype_9, a0_.display_order AS display_order_10, a0_.is_hidden AS is_hidden_11, a0_.opened_at AS opened_at_12, a0_.user_id AS user_id_13 FROM account a0_ WHERE a0_.user_id = ? AND a0_.id <> ? AND a0_.is_active = 1 ORDER BY a0_.name ASC
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.bank_name AS bank_name_2, a0_.type AS type_3, a0_.balance AS balance_4, a0_.color AS color_5, a0_.is_active AS is_active_6, a0_.created_at AS created_at_7, a0_.updated_at AS updated_at_8, a0_.subtype AS subtype_9, a0_.display_order AS display_order_10, a0_.is_hidden AS is_hidden_11, a0_.opened_at AS opened_at_12, a0_.user_id AS user_id_13 FROM account a0_ WHERE a0_.user_id = 1 AND a0_.id <> 9 AND a0_.is_active = 1 ORDER BY a0_.name ASC;
|
1.13 ms (1.84%)
|
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.icon AS icon_2, c0_.color AS color_3, c0_.is_system AS is_system_4, c0_.created_at AS created_at_5, c0_.family AS family_6, c0_.user_id AS user_id_7 FROM category c0_
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.icon AS icon_2, c0_.color AS color_3, c0_.is_system AS is_system_4, c0_.created_at AS created_at_5, c0_.family AS family_6, c0_.user_id AS user_id_7 FROM category c0_;
|
1.06 ms (1.71%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.bank_name AS bank_name_3, t0.type AS type_4, t0.balance AS balance_5, t0.color AS color_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.subtype AS subtype_10, t0.display_order AS display_order_11, t0.is_hidden AS is_hidden_12, t0.opened_at AS opened_at_13, t0.user_id AS user_id_14 FROM account t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.bank_name AS bank_name_3, t0.type AS type_4, t0.balance AS balance_5, t0.color AS color_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.subtype AS subtype_10, t0.display_order AS display_order_11, t0.is_hidden AS is_hidden_12, t0.opened_at AS opened_at_13, t0.user_id AS user_id_14 FROM account t0 WHERE t0.id = '9';
|
1.00 ms (1.62%)
|
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.lastname AS lastname_5, t0.firstname AS firstname_6, t0.created_at AS created_at_7, t0.last_login AS last_login_8 FROM user t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.lastname AS lastname_5, t0.firstname AS firstname_6, t0.created_at AS created_at_7, t0.last_login AS last_login_8 FROM user t0 WHERE t0.id = 1;
|