comment:
tableName: comments
columns:
comment_id:
type: integer(4)
primary: true
notnull: true
autoincrement: true
news_feed_id:
type: integer(4)
relations:
newsFeed:
class: newsFeed
local: news_feed_id
foreign: news_feed_id
foreignAlias: comments
When I select newsFeeds and wanted to get comments for every newsFeed, Is it possible to get comments order by a particular column. I need to show the latest ones first. I hope my question is clear. I want to specify extra information in the relation to order by results of child table.