pp wrote: > Yes, I think You are right. > That way We could need to have topic name instead of ID in > article topic field. Or article up name etc etc. > I am not good at mysql and PHP , but maybe some fields could be > string instead of int. So that way anybody could choose what to insert > in object field. And it could be older versions compatible.
...And in the whole database the foreign keys referencing to this string "id" you have to change this foreign key from int to string, and possibly store "i_have_a_really_great_and_long_name" instead of 352, for example. Would it be good...? No way. The better is when you have the possibility to query the data you want, and the midgard function creates the SQL query for you. In that way you don't have to make 2 queries (one by midgard to return you the id, and one by you to get the name), only one, properly computed join. Fery --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
