-
Notifications
You must be signed in to change notification settings - Fork 2
2. Models and Collection
Pranjal Pandey edited this page May 25, 2022
·
8 revisions
A row in database is represented by a model in Arca. Arca can perform all magic due to models to create a new row, you just need to create a new model and save
//create a new model
$user = $db->create('user');
$user->name = "John Doe";
$user->email = "John@test.com";
$user->save();
Something is missing? Have a suggestion? Feel free to open issue here