| 2 |
1.07 ms |
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;
|
| 3 |
8.39 ms |
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;
|
| 4 |
1.59 ms |
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;
|
| 5 |
3.76 ms |
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;
|