forked from anishkny/integrify
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
},
]
},
],
Metadata
Metadata
Assignees
Labels
No labels