dev-master
9999999-devJust a file based database using object relational mapping.
MIT
The Requires
1
1.0.0.0Just a file based database using object relational mapping.
MIT
The Requires
Just a file based database using object relational mapping.
$user_1 = new User(); $user_1->name = 'Samson'; $user_1->age = '24'; $user_1->save();
$user_2 = User::create([ 'name' => 'Peter', 'age' => '22' ]);
$user_found = User::find(2); $user_search = user::search(['name' => 'peter']); $user_found->update(['name' => 'susan']); $user_found->delete();
use ORM\ORM; class Model extends ORM { const PRIMARY = 'primary_key'; }
or the default key will default to id, (*1)
Just a file based database using object relational mapping.
MIT
Just a file based database using object relational mapping.
MIT