wip - test in comment

And change manually R::$camelsSnakeCase
<?php include('surikat/control.php');control::dev();
/*
*/
use model\R;
control::devOn(control::dev_model_redbean);
R::nuke();
$e = R::create('emPloyee');
$p = R::create('pRoject');
$e->aParent = array('name'=>'test'); //parent
$e->someSharedThings =
array(array('name'=>'test'),array('name'=>'test2')); //shared
$e->someSubThings =
array(array('key'=>'test'),array('key'=>'test2'),array('otherKey'=>'test3'));
//xown
$e->link( 'emPloyee_pRoject', [
	'role' => 'director'
] )->pRoject = $p;
R::store($p);
R::store($e);
$e = R::read('emPloyee',1);
echo '<pre>';
print_r($e->ownList('pRoject'));
echo '</pre>';

//view::index();