Skip to content

staark-dev/ActiveRecords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ActiveRecords

PDO Snippet Active Records

Eloquent Model Functions

Eloquent Model Usage

class Model extends \ActiveRecord\Eloquent {}

Eloquent Set Connection

\ActiveRecord\Eloquent::setConnection('host', '\dbname', 'user', '\pass');

Model store methods

function save();

function delete();

function insert();

function update();

Model Functions

Model::find(int $id);

Model::findAll();

Model::findById(int $id);

Model::findByEmail(string $email);

About

PDO Snippet Active Records

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages