Re: The revenge of the fake primary key
Re: The revenge of the fake primary key
- Subject: Re: The revenge of the fake primary key
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Wed, 16 Apr 2003 09:59:24 -0500
Pierre Bernard, email@hidden, wrote:
>A longer workaround - close to hacking - would be to subclass
>EOSQLExpression to amend the SQL statements so that for each join over a
>relationship to an entity with a restricting qualifier that qualifier is
>appended to the WHERE clause. I still don't really know how to do this.
>Hints appreciated.
Definitely hacking:
<http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wonder/Wonder/Experimental/
WOWebLog/ExplicitFetchSpec/>
ExplicitFetchSpec blocks the join clause in relational SELECT .. OR
queries. This looks like a good place to start if you want to dynamically
insert join clauses.
.......................................................
Jonathan 'Wolf' Rentzsch http://rentzsch.com
Red Shed Software http://redshed.net (847) 584-7465
PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2
"There are 10 types of people:
those who count in binary, and those who don't"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.