We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80edd17 + 2c48b88 commit 3f4c758Copy full SHA for 3f4c758
1 file changed
src/export.ts
@@ -142,10 +142,14 @@ export const backUpDocRef = async <T>(
142
143
if (subCollections.length > 0) {
144
data['subCollection'] = {}
145
+ const subColOptions = {...options};
146
+ if (subColOptions?.queryCollection) {
147
+ delete subColOptions.queryCollection;
148
+ }
149
for (const subCol of subCollections) {
150
const subColData = await backupService<object>(
151
`${collectionPath}/${doc.id}/${subCol.id}`,
- options
152
+ subColOptions
153
)
154
155
data['subCollection'] = {
0 commit comments