| #1 | debug | SELECT * FROM `empresas` ORDER BY `nombre` ASC | 0.5ms |
| #2 | debug | SHOW COLUMNS FROM `empresas`; | 0.4ms |
| #3 | debug | SELECT * FROM `users` WHERE `nick` = 'demo' LIMIT 1 OFFSET 0; | |
| #4 | debug | SHOW COLUMNS FROM `facturascli`; | 0.5ms |
| #5 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'facturascli'; | 1.0ms |
| #6 | debug | SHOW INDEXES FROM facturascli; | 0.2ms |
| #7 | debug | SHOW COLUMNS FROM `facturascli`; | 0.5ms |
| #8 | debug | SHOW COLUMNS FROM `estados_documentos`; | 0.5ms |
| #9 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'estados_documentos'; | |
| #10 | debug | SHOW INDEXES FROM estados_documentos; | 0.2ms |
| #11 | debug | SHOW COLUMNS FROM `estados_documentos`; | 0.3ms |
| #12 | debug | SELECT * FROM `estados_documentos` ORDER BY `idestado` ASC | |
| #13 | debug | SHOW COLUMNS FROM `divisas`; | 0.5ms |
| #14 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'divisas'; | |
| #15 | debug | SHOW INDEXES FROM divisas; | |
| #16 | debug | SHOW COLUMNS FROM `divisas`; | 0.3ms |
| #17 | debug | SELECT * FROM `divisas` ORDER BY `coddivisa` ASC | |
| #18 | debug | SELECT * FROM `facturascli` WHERE `fecha` >= '2026-03-21' AND `nick` = 'demo' ORDER BY `idfactura` DESC LIMIT 3 OFFSET 0; | |
| #19 | debug | SHOW COLUMNS FROM `albaranescli`; | 0.4ms |
| #20 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'albaranescli'; | |
| #21 | debug | SHOW INDEXES FROM albaranescli; | |
| #22 | debug | SHOW COLUMNS FROM `albaranescli`; | 0.4ms |
| #23 | debug | SELECT * FROM `albaranescli` WHERE `fecha` >= '2026-03-21' AND `nick` = 'demo' ORDER BY `idalbaran` DESC LIMIT 3 OFFSET 0; | 0.2ms |
| #24 | debug | SHOW COLUMNS FROM `pedidoscli`; | 0.4ms |
| #25 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'pedidoscli'; | |
| #26 | debug | SHOW INDEXES FROM pedidoscli; | |
| #27 | debug | SHOW COLUMNS FROM `pedidoscli`; | 0.4ms |
| #28 | debug | SELECT * FROM `pedidoscli` WHERE `fecha` >= '2026-03-21' AND `nick` = 'demo' ORDER BY `idpedido` DESC LIMIT 3 OFFSET 0; | |
| #29 | debug | SHOW COLUMNS FROM `presupuestoscli`; | 0.4ms |
| #30 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'presupuestoscli'; | |
| #31 | debug | SHOW INDEXES FROM presupuestoscli; | |
| #32 | debug | SHOW COLUMNS FROM `presupuestoscli`; | 0.4ms |
| #33 | debug | SELECT * FROM `presupuestoscli` WHERE `fecha` >= '2026-03-21' AND `nick` = 'demo' ORDER BY `idpresupuesto` DESC LIMIT 3 OFFSET 0; | 0.2ms |
| #34 | debug | SHOW COLUMNS FROM `clientes`; | 0.8ms |
| #35 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'clientes'; | 1.2ms |
| #36 | debug | SHOW INDEXES FROM clientes; | |
| #37 | debug | SHOW COLUMNS FROM `clientes`; | 0.4ms |
| #38 | debug | SELECT * FROM `clientes` WHERE `fechaalta` >= '2026-03-21' ORDER BY `fechaalta` DESC LIMIT 3 OFFSET 0; | 0.2ms |
| #39 | debug | SHOW COLUMNS FROM `contactos`; | 0.4ms |
| #40 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'contactos'; | |
| #41 | debug | SHOW INDEXES FROM contactos; | |
| #42 | debug | SHOW COLUMNS FROM `contactos`; | 0.4ms |
| #43 | debug | SELECT * FROM `contactos` WHERE `fechaalta` >= '2026-03-21' ORDER BY `fechaalta` DESC LIMIT 3 OFFSET 0; | 0.3ms |
| #44 | debug | SHOW COLUMNS FROM `productos`; | 0.9ms |
| #45 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'productos'; | 0.6ms |
| #46 | debug | SHOW INDEXES FROM productos; | 0.2ms |
| #47 | debug | SHOW COLUMNS FROM `productos`; | 0.4ms |
| #48 | debug | SELECT * FROM `productos` WHERE `actualizado` >= '2026-03-21 22:54:29' ORDER BY `actualizado` DESC LIMIT 3 OFFSET 0; | 0.2ms |
| #49 | debug | SELECT SUM(`neto`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #50 | debug | SELECT SUM(`neto`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #51 | debug | SELECT SUM(`neto`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #52 | debug | SELECT SUM(`neto`) as sum FROM `facturascli` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #53 | debug | SELECT SUM(`neto`) as sum FROM `facturascli` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #54 | debug | SELECT SUM(`neto`) as sum FROM `facturascli` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #55 | debug | SELECT SUM(`totaliva`) as sum FROM `facturascli` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #56 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturascli` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #57 | debug | SELECT SUM(`totaliva`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #58 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-03-01' AND `fecha` < '2026-04-01' | |
| #59 | debug | SELECT SUM(`totaliva`) as sum FROM `facturascli` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #60 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturascli` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #61 | debug | SELECT SUM(`totaliva`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #62 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-02-01' AND `fecha` < '2026-03-01' | |
| #63 | debug | SELECT SUM(`totaliva`) as sum FROM `facturascli` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #64 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturascli` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #65 | debug | SELECT SUM(`totaliva`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #66 | debug | SELECT SUM(`totalrecargo`) as sum FROM `facturasprov` WHERE `fecha` >= '2026-01-01' AND `fecha` < '2026-02-01' | |
| #67 | debug | SELECT COUNT(*) as _count FROM `clientes` WHERE `fechaalta` >= '2026-03-01' AND `fechaalta` < '2026-04-01' LIMIT 1 OFFSET 0; | |
| #68 | debug | SELECT COUNT(*) as _count FROM `clientes` WHERE `fechaalta` >= '2026-02-01' AND `fechaalta` < '2026-03-01' LIMIT 1 OFFSET 0; | |
| #69 | debug | SELECT COUNT(*) as _count FROM `clientes` WHERE `fechaalta` >= '2026-01-01' AND `fechaalta` < '2026-02-01' LIMIT 1 OFFSET 0; | |
| #70 | debug | SELECT * FROM stocks WHERE stockmin > 0 AND disponible < stockmin; | 0.8ms |
| #71 | debug | SHOW COLUMNS FROM `recibospagoscli`; | 0.3ms |
| #72 | debug | SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'recibospagoscli'; | |
| #73 | debug | SHOW INDEXES FROM recibospagoscli; | |
| #74 | debug | SHOW COLUMNS FROM `recibospagoscli`; | 0.3ms |
| #75 | debug | SELECT * FROM `recibospagoscli` WHERE `pagado` = FALSE AND `vencimiento` < '2026-03-23' AND `vencimiento` > '2025-03-23' ORDER BY `vencimiento` DESC | |
| #76 | debug | SELECT * FROM `pages` WHERE `showonmenu` = TRUE ORDER BY lower(menu) ASC, lower(submenu) ASC, `ordernum` ASC, lower(title) ASC | 0.7ms |
| #77 | debug | SHOW COLUMNS FROM `pages`; | 0.3ms |
| #78 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '76' LIMIT 1 OFFSET 0; | 0.2ms |
| #79 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '77' LIMIT 1 OFFSET 0; | |
| #80 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '76' LIMIT 1 OFFSET 0; | |
| #81 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '71' LIMIT 1 OFFSET 0; | |
| #82 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '25' LIMIT 1 OFFSET 0; | |
| #83 | debug | SELECT * FROM `clientes` WHERE `codcliente` = '1' LIMIT 1 OFFSET 0; | |