Open davidguttman opened 9 years ago
Could be useful to add conditions to a relationship:
relationships: { recentAlbums: { type: 'hasMany', local: 'id', foreign: { table: 'album', key: 'bandId' }, conditions: { released: { operation: '>=', value: 2012 } } }
Thoughts?
+1
Could be useful to add conditions to a relationship:
Thoughts?