mysql - laravel split table in two table for one model -


i have 1 model car , table cars. in table cars have lot of filed required there.

is there way split table filed f1,f2,f3 go in table 'cars' , f6, f7, f8 in 'cars2'.

my goal @ end not write 2 query 2 tables. possible eloquent.

apparently not recommend idea of splitting table. because cars , cars2 make db redundant 1 , thereby causing lot of ambiguity coders come.

however, recommend use of join queries gracefully access data needed 2 tables planning use , using single query.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -