Hi,
As far as I understood everything is an object.
So if I have a car (table: cars) and this car has a color (table: colors) I have two models, a car model and a color model, right?
So let’s say my car has a lot more attributes, e.g. what kind of tyres, what kind of radio, what kind of seats etc, I have also the tables “tyres”, “radios”, “seats” etc, right?
So let’s assume I want to bundle these attributes and set a prefix only for the car’s attributes. How can I do this?
I want to have the “main objects” like “car” without any table-prefix. But attributes should be with a prefix. I know how to set a join-prefix and a table-prefix for certain models. Then I can also set the table name für “plurals”. Could I do the following to realize the grouping (same prefix for the car’s attributes):
Color-Model:
$table = ‘car_colors’;
$prefix = ‘’;
$join_prefix = ‘join_’;
Car-Model:
$table = ‘cars’;
$prefix = ‘’;
$join_prefix = ‘join_’;
etc.
Would that work?
Thanks for your help!!!