Query Metrics
156
Database Queries
8
Different statements
74.68 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
20.58 ms (0.00%) |
19 |
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => 106.0 2 => 128.0 3 => null 4 => 0.32 5 => 1 6 => 9721 7 => 1 ] |
17.12 ms (0.00%) |
19 |
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[ -6924.63 285 ] |
11.87 ms (0.00%) |
39 |
"COMMIT"
Parameters:
[] |
11.63 ms (0.00%) |
19 |
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[ 5 1 ] |
9.37 ms (0.00%) |
19 |
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
"6178c3fc460db"
]
|
2.93 ms (0.00%) |
39 |
"START TRANSACTION"
Parameters:
[] |
0.62 ms (0.00%) |
1 |
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.branch_ref_key AS branch_ref_key_3, t0.branch_id AS branch_id_4, t0.branch_code AS branch_code_5, t0.branch_name AS branch_name_6, t0.address AS address_7, t0.postel AS postel_8, t0.update_by AS update_by_9, t0.update_date AS update_date_10, t0.flag_status AS flag_status_11, t0.flag_show_product_cost AS flag_show_product_cost_12, t0.flag_show_product_balance AS flag_show_product_balance_13, t0.province_key AS province_key_14 FROM branch t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
"61496139bd592"
]
|
0.56 ms (0.00%) |
1 |
INSERT INTO sale_report (report_date, total_cost, total_sale, ref_id, flag_status, branch_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "2024-11-15 16:33:21" 2 => 7531.0 3 => 8833.0 4 => "67377a487d671" 5 => 1 6 => 5 ] |
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 |
---|---|
App\Entity\Branch | No errors. |
App\Entity\Province | No errors. |
App\Entity\SaleReport | No errors. |
App\Entity\SaleReportDetail | No errors. |
App\Entity\Product |
|
App\Entity\Category | No errors. |
App\Entity\SaleType | No errors. |
App\Entity\ProductBranch | No errors. |