[EMAIL PROTECTED] wrote:
> On Wed, Jan 18, 2006 at 02:21:31AM +0100, Soni Bergraj wrote:
> 
>>Is this the most convenient way to do self references, and if yes, is
> 
> 
>    One of. The other one is Alias.
I like the idea to have some random_tradesman and get its customers and
suppliers just with random_tradesman.customers and
random_tradesman.suppliers. This is not to achieve with Alias, right?

>>there a way to prevent the second attempt to create 'tradesman_tradesman'?
> 
> 
>    How do you create tables?
tg-admin sql create, I think this delegates to sqlobject-admin)

>    Because the FAQ is the only place where Alias is documented.
> 
> Oleg.

The FAQ
(http://sqlobject.org/FAQ.html#how-can-i-join-a-table-with-itself)
misses the point, this section of the main docs
(http://sqlobject.org/SQLObject.html#how-can-i-join-a-table-with-itself)
is more useful on the topic  :)


Cheers,

-- 
Soni Bergraj


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to