I get an object with ->fetch('team_id');
or
an array with ->fetchRaw('team_id');
the data will be 18 integers and i have no idea how to save them.
Which type of field should i choose, please, and why?
And what do i fetch (object/array) and how to prepare it?
Should i save only the ids and fetch the names later?
Or better save ids and names to have some queries less later?
1, green
2, red
3, blue
...
or
an array with ->fetchRaw('team_id');
the data will be 18 integers and i have no idea how to save them.
Which type of field should i choose, please, and why?
And what do i fetch (object/array) and how to prepare it?
Should i save only the ids and fetch the names later?
Or better save ids and names to have some queries less later?
1, green
2, red
3, blue
...