Query Metrics
196
Database Queries
8
Different statements
56.10 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
17.49 ms (0.00%) |
24 |
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:
[ 15 96 ] |
11.58 ms (0.00%) |
24 |
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:
[
"6178c3fcc0495"
]
|
11.37 ms (0.00%) |
49 |
"COMMIT"
Parameters:
[] |
6.59 ms (0.00%) |
24 |
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => 127.0 2 => 162.0 3 => null 4 => 3.13 5 => 1 6 => 9714 7 => 97 ] |
4.98 ms (0.00%) |
24 |
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[ -3774.62 1560 ] |
2.64 ms (0.00%) |
49 |
"START TRANSACTION"
Parameters:
[] |
1.04 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:
[
"62afbdd6e1a88"
]
|
0.40 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 11:46:12" 2 => 7887.0 3 => 9266.0 4 => "67373ec5b070a" 5 => 1 6 => 15 ] |
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. |