Support for Collection Group Queries #15
Labels
enhancement
New feature or request
from_willyovale
An issue described in original project, but never implemented
planning
Not yet ready for development
Description
Firestore supports collection group queries, allowing you to search across multiple collections or subcollections with the same name. This feature is useful for querying data without needing to know the parent record. The proposed syntax for this feature in Fireorm is to use a
collectionGroup
function that derives the collection name from the entity.Steps to Reproduce
Expected Behavior
Ability to perform collection group queries using a syntax like
collectionGroup(Entity).where(...)
.Actual Behavior
Currently, Fireorm does not support collection group queries, limiting the ability to search across multiple collections or subcollections with the same name.
Acceptance Criteria
collectionGroup
function in Fireorm that supports collection group queries.QueryBuilder
.collectionGroup
andQueryBuilder
to facilitate collection group queries.Additional Context
collectionGroup
method and using Fireorm'sQueryBuilder
for type safety.Proposed API Changes
collectionGroup Function:
collectionGroup
function to support collection group queries.QueryBuilder Integration:
Original Issue
The text was updated successfully, but these errors were encountered: