2017 © Pedro Peláez
 

library database

Database engine

image

solve/database

Database engine

  • Monday, July 20, 2015
  • by mounter
  • Repository
  • 1 Watchers
  • 0 Stars
  • 207 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 51 Versions
  • 0 % Grown

The README.md

Database

Database component for Solve framework, (*1)

Already done:, (*2)

QC
MysqlDBAdaptor
DBOperator
ModelOperator
ModelStructure

Model
ModelCollection
ModelRelation

SlugAbility
TranslateAbility
FilesAbility (+thumbnails)

Validation

Need to be realized, (*3)

SortAbility TimeTrackAbility TreeAbility HistoryAbility DynamicAbility, (*4)

Paginator, (*5)

Sample model structure

Brand:, (*6)

table: brands
columns:
  id:
    type: 'int(11) unsigned'
    auto_increment: true
  title:
    type: varchar(255)
indexes:
  primary:
    columns:
      - id
relations:
  products: {  }
# here we have autodetect for model, for relation type and related field names

Category:, (*7)

table: categories
columns:
  id:
    type: 'int(11) unsigned'
    auto_increment: true
  title:
    type: varchar(255)
indexes:
  primary:
    columns:
      - id
relations:
  products: {  }

Product:, (*8)

table: products
columns:
  id:
    type: 'int(11) unsigned'
    auto_increment: true
  title:
    type: varchar(255)
  id_brand:
    type: 'int(11) unsigned'
indexes:
  primary:
    columns:
      - id
relations:
  brand: {  }
  categories: {  }

Simple Operations:, (*9)

$product = Product::loadOne(1);
$product->title = 'Macbook air';
$product->save();

$product = new Product();
$product->title = 'Macbook pro'
$product->save();

$list = Product::loadList(QC::create()->where('id < :d', 3));
//$list->loadRelated('brand'); - optional
echo $list->getFirst()->brand->id;
$list->getFirst()->setRelatedBrand(1); // set related by id

The Versions

20/07 2015

2.0.x-dev

2.0.9999999.9999999-dev http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

20/07 2015

v2.0.19

2.0.19.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

18/07 2015

v2.0.18

2.0.18.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

17/07 2015

v2.0.17

2.0.17.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

17/07 2015

v2.0.16

2.0.16.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/07 2015

v2.0.15

2.0.15.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/07 2015

v2.0.13

2.0.13.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/07 2015

v2.0.14

2.0.14.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

25/06 2015

v2.0.12

2.0.12.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

25/06 2015

v2.0.11

2.0.11.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

25/06 2015

v2.0.10

2.0.10.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/06 2015

v2.0.8

2.0.8.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/06 2015

v2.0.9

2.0.9.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/06 2015

v2.0.7

2.0.7.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/06 2015

v2.0.6

2.0.6.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

22/06 2015

v2.0.5

2.0.5.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

22/06 2015

dev-master

9999999-dev http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

22/06 2015

v2.0.4

2.0.4.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

22/06 2015

v2.0.3

2.0.3.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

22/06 2015

v2.0.1

2.0.1.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

12/06 2015

v2.0

2.0.0.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

11/06 2015

v1.0.29

1.0.29.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

11/06 2015

v2.0.2

2.0.2.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

08/06 2015

v1.0.28

1.0.28.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

01/05 2015

v1.0.27

1.0.27.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

26/04 2015

1.0.26

1.0.26.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

30/03 2015

v1.0.25

1.0.25.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

27/03 2015

v1.0.24

1.0.24.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

20/03 2015

v1.0.21

1.0.21.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

20/03 2015

v1.0.22

1.0.22.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

20/03 2015

v1.0.23

1.0.23.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

20/03 2015

v1.0.20

1.0.20.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

17/03 2015

v1.0.19

1.0.19.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/03 2015

v1.0.18

1.0.18.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

13/03 2015

v1.0.17

1.0.17.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

11/03 2015

v1.0.15

1.0.15.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

11/03 2015

v1.0.16

1.0.16.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

26/02 2015

v1.0.14

1.0.14.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

26/02 2015

v1.0.13

1.0.13.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/02 2015

v1.0.12

1.0.12.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

23/02 2015

v1.0.11

1.0.11.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

02/02 2015

v1.0.9

1.0.9.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

16/01 2015

v1.0.8

1.0.8.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/01 2015

v1.0.7

1.0.7.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

13/01 2015

v1.0.5

1.0.5.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

13/01 2015

v1.0.6

1.0.6.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

12/01 2015

v1.0.4

1.0.4.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

14/11 2014

v1.0.3

1.0.3.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

05/11 2014

v1.0.2

1.0.2.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

04/11 2014

v1.0.1

1.0.1.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve

19/10 2014

v1.0.0

1.0.0.0 http://github.com/Solve/Database

Database engine

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk

orm database pdo db solve