- WIP on the EntityTrait
- Fixed composer entries - Corrected QueryExplain keyword orders
This commit is contained in:
parent
dabfc24cba
commit
d6ddf3bbab
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcnd/orm",
|
"name": "mcnd/ulmus",
|
||||||
"description": "An hybrid of Active Record and Data Mapper pattern allowing fdirect queries.",
|
"description": "An hybrid of Active Record and Data Mapper pattern allowing direct queries.",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
@ -9,7 +9,15 @@
|
||||||
"email": "mcndave@gmail.com"
|
"email": "mcndave@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {},
|
"require": {
|
||||||
|
"mcnd/notes": "master-dev",
|
||||||
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "https://github.com/mcNdave/notes.git"
|
||||||
|
}
|
||||||
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Ulmus\\": "src/"
|
"Ulmus\\": "src/"
|
||||||
|
|
|
@ -12,6 +12,9 @@ use Ulmus\Annotation\Property\Field\{ Id, ForeignKey, CreatedAt, UpdatedAt, };
|
||||||
|
|
||||||
trait EntityTrait {
|
trait EntityTrait {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Ignore
|
||||||
|
*/
|
||||||
public function entityFillFromDataset($dataset) : self
|
public function entityFillFromDataset($dataset) : self
|
||||||
{
|
{
|
||||||
$fields = Ulmus::resolveEntity(static::class);
|
$fields = Ulmus::resolveEntity(static::class);
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Ulmus\Query;
|
||||||
|
|
||||||
class Explain extends Fragment {
|
class Explain extends Fragment {
|
||||||
|
|
||||||
public int $order = -1000;
|
public int $order = -1500;
|
||||||
|
|
||||||
public bool $extended = false;
|
public bool $extended = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue