> ...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.

oh! that is solution I even do not dream of :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to