Does DO 3.9 support UNION queries? It seems to me that it doesn't. If it does, then is this support for identical types, or the types can be inherited from same superclass? |
You are right, there is no way to explicitly execute UNION query. But at the same time DataObjects 3.9 uses such queries internally: In the case you have some persistent interface DataObjects 3.9 creates corresponding view. This view in turn is built on top of a query that uses UNION statement to gather results from tables of the interface implementors. |