-
Notifications
You must be signed in to change notification settings - Fork 15
Insert Record
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.