Dashboard Test V1

This commit is contained in:
Cris
2022-09-06 15:29:42 +02:00
parent 7f64f5c29f
commit 522e341d3d
13 changed files with 788 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
class Dashboard_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = "( WITH vals (dashboard_id, name) AS (VALUES
(0,'CIS'),
(1,'PV21')
) SELECT * FROM vals ) AS tbl_dashboard";
$this->pk = 'dashboard_id';
}
}