i know there is a nice way of defining connections via app/config/database.php . But i don't think there is a driver for me available.
Imagine my db is read from file, like a txt. (Yeah! that's my client db, sort of).
So in that file, before I
'connections' =>
'filedb' => array(
'driver' => 'what-should-i-put-here'
i need a real driver!
Currently it uses a txt base db but in a future we will be migrating to mysql, so current eloquent implementation will filt excelent for me. But right now i would like to implement a driver for my txt db so i can fully use eloquent now.
Does laravel provides a way to implement your own driver ? In both cases (true or false) , do you have suggestions about it ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lb0inW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire