docs: function _getRef (refOrQuery) {
    if (typeof refOrQuery.ref === 'function') {
      refOrQuery = refOrQuery.ref()
    } else if (typeof refOrQuery.ref === 'object') {
      refOrQuery = refOrQuery.ref
    }
  
    return refOrQuery
  }