I want to have an array of strings as a public member of my Word class (let's call it examples), and map it with Eloquent to the database somehow. For sure, in the database that would be two tables, but do I really need two classes with hasMany relationship, or there is any kind of 'normal' way to map array of strings to the database without creation additional class that I don't really need?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community