Skip to content
Sumit Patil edited this page Jun 18, 2015 · 1 revision

To insert a record

class User extends \Orientdb {

    protected $fillable = ['name', 'email'];
}

$user = User::create(['name' => 'Some Name', 'email' => '[email protected]']);

You can use this by extending Orientdb into model class.

Clone this wiki locally