onWriteConnection()
is for querying on write connection. If you already have read/write connections set up, you just create a user as usual:
$user = new \App\User;
$user->name = \Input::get('name');
//...
$user->status = \Input::get('status');
$user->save();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community