There is no concept of doing what you ask. You can make a rotation in which you can get values โโbased on one one-act-play filter using equalTo and the rest, which you can filter at the end of the user, for example:
export const startSetContent = () => { return (dispatch, getState) => { const ref = database.ref("content"); return ref .orderByChild("category") .equalTo('one-act-play') .once('value') .then(snapshot => { const content = []; Object.keys(snapshot.val()).map(k => { if(k == 'ten-min-play' || k == 'full-length-play'){ snapshot.forEach(childSnapshot => { content.push({ id: childSnapshot.key, ...childSnapshot.val() }); }); } dispatch(setContent(content)); }); }; };
Or you can use a library created to fulfill such a Querybase requirement
source share