mardi 11 juillet 2017

eloquent ORM save entity in two schemas

Is it possible to save an eloquent ORM entity in more than one schema ?

for exemple, can I define this in a model :

protected $connection = ['first', 'second'];

then when i save a model it will save to the connections listed ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u3sjVx
via IFTTT

Aucun commentaire:

Enregistrer un commentaire