We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geofirex/src/query.ts
Line 159 in 8dc13bf
@codediodeio, It would be really great if the result document returns ref(DocumentReference) instead of id
ref
id
function snapToData(id = 'id') { return map((querySnapshot: fb.firestore.QuerySnapshot) => querySnapshot.docs.map(v => { return { ref: v.ref, //lets return document.ref ...(id ? { [id]: v.id } : null), ...v.data() }; }) ); }
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
geofirex/src/query.ts
Line 159 in 8dc13bf
@codediodeio, It would be really great if the result document returns
ref
(DocumentReference) instead ofid
Thanks
The text was updated successfully, but these errors were encountered: