Am using Symfony 1.4 and Propel 1.6. I have a table representing an object where one may record may relate to one other record in the table (Think outbound / inbound routes). The key of second half of the pair (think inbound route) is stored in the first instance (the outbound one).
This project is in development. I am trying to make a data dump. What happens is that I do not get all of the records output from MySQL. Only where the self-referencing column is NULL will I get an output.
How do I tell propel to output the integer value stored in this linked column?
Note: table not actually called Route, this just a placeholder name for the real-world object (does not model links or routing object or invoke such naming issues)
Route:
id: ~
linked_Route_id:
type: INTEGER
foreignTable: Route
foreignReference: id
onDelete: setnull
fkSkipSql: true #I have tried builds with and without this option.
..... Thanks for any recommendations from someone who has had to work around the issue before.