29 lines
405 B
PHP
29 lines
405 B
PHP
|
<?php
|
||
|
|
||
|
define('__ROOT__', dirname(dirname(dirname(__FILE__))) );
|
||
|
|
||
|
require_once __ROOT__.'/autoloader.php';
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
use \database\core\Repo;
|
||
|
use \database\core\DatabaseDriver;
|
||
|
use \orm\core\Table;
|
||
|
|
||
|
debug();
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* [2] Requests on lab-surveys
|
||
|
=========================================================*/
|
||
|
$etudes = Table::get('etudes', 'lab-surveys')
|
||
|
->select('*');
|
||
|
|
||
|
var_dump($etudes->fetch());
|
||
|
|
||
|
|
||
|
|
||
|
?>
|