| |
doctrine-user |
Hi everybody,
return Doctrine_Query::create()
schema.yml:
news:
In the schema, there's no relation between news and car, because I
Here's the error :
If anyone can help... ?
thanks in advance to everyone.
πR
I'm quite new to Doctrine, and I'm trying that :
->select('News.*, Car.*')
->from('News, Car')
->where('News.object = ? and Car.id = News.object_id', 'Car')
->execute();
cars:
name: string
title: string
object: string
objec_id: string
want to use news for other object (like moto for exemple), and I'm not
that good to create a behavior.
"Car" with an alias of "Car" in your query does not reference the
parent component it is related to.