Zen Cart Logo
Forums / General Questions / Database question. Where does the Value for the Field is generated?

Database question. Where does the Value for the Field is generated?

Locked

Views: 893

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
1 May 2007, 7:02 AM
#1
oscar07 avatar

oscar07

New Zenner

Join Date:
May 2007
Posts:
1
Plugin Contributions:
0

Database question. Where does the Value for the Field is generated?

Hello,

in the Zen-Cart Database, there is a table called "zen_products_options".

This table has following fields:

products_options_id | language_id | products_options_name | ...

The question is, where does the value come from or where does the value got generated, for the field "products_options_id"?

for example, this table could look like this:

0 | 1 | color | ...
0 | 43 | Farbe | ...
1 | 1 | length | ...
1 | 43 | Länge | ...
...

Where or how does the Value for the Field "products_options_id" is generated?

This field is not an auto_increment field. So it can not be generated from the Database himself.