title: Get collection reference in redux-saga-firebase
body: <p>I'm unable to define a collection reference using <a href="https://redux-saga-firebase.js.org/" rel="nofollow noreferrer">redux-saga-firebase</a>. I'm trying to define it like this: </p>
  
  <pre><code>const query = rsf.firestore.collection('players').where('up', '&gt;', lastUpdated);
  </code></pre>
  
  <p>but I am getting </p>
  
  <blockquote>
    <p>TypeError: _firebase_firebase__WEBPACK_IMPORTED_MODULE_6__.rsf.firestore.collection is not a function</p>
  </blockquote>
  
  <p>I have tried also tried using <code>.reference()</code> as described <a href="https://redux-saga-firebase.js.org/guides/sorting-filtering" rel="nofollow noreferrer">here</a> to no avail. I'm attempting to limit the number of documents synced from a collection per <a href="https://stackoverflow.com/questions/62314708/firestore-get-only-the-changed-documents-in-a-large-synced-collection/62314734">this suggestion</a>. How can I get a collection reference for use in this function?</p>
  
  <pre><code>import { rsf } from '../../firebase/firebase';
  
  export function* getPlayersFromDb() {
    const players = yield select(getPlayers);
    const lastUpdated = Math.max(...players.map(x =&gt; x.up));
    const query = rsf.firestore.collection('players').where('up', '&gt;', lastUpdated);
  
  yield fork(
    rsf.firestore.syncCollection,
    query,
    { successActionCreator: response =&gt; ({
              type: t.GET_PLAYERS_FROM_DB_SUCCESS,
              payload: [...response],
          }),
          failureActionCreator: () =&gt; ({
              type: t.GET_PLAYERS_FROM_DB_FAILURE,
              payload: [],
          }),
          transform: response =&gt; messageTransformer(response),
      }
  );
  </code></pre>
  
  <p>}</p>