The functionality to be able to string together multiple queries for the foreign key. At the moment there is only one .where(...). Being able to have multiple .where(...).where(...) (Note the firebase limits), would help the queries be more specific.
source: {
collection: 'master/{someId}/detail',
},
targets: [
{
collection: 'details/{someId}/more_detail',
foreignKey: 'masterId',
where: [
{
field: 'masterId',
operator: '==',
value: someId
},
{
field: 'secondId',
operator: '>',
value: 0
},
]
},
],
The functionality to be able to string together multiple queries for the foreign key. At the moment there is only one
.where(...). Being able to have multiple.where(...).where(...)(Note the firebase limits), would help the queries be more specific.