We will need to include a check such that we do not include the `WHERE` line if `collectionName` is not defined and `params.where` is not specified.