We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f96cdf1 commit 37fa3b2Copy full SHA for 37fa3b2
2 files changed
infra/bigquery-export/firestore.js
@@ -125,7 +125,7 @@ export class FirestoreBatch {
125
console.info(`Transfer to ${this.collectionName} complete. Total rows processed: ${totalRowsProcessed}. Time: ${duration} seconds`)
126
}
127
128
- async export (exportConfig, query) {
+ async export (query, exportConfig) {
129
this.firestore.settings({
130
databaseId: exportConfig.database
131
})
infra/bigquery-export/index.js
@@ -18,7 +18,7 @@ async function main () {
18
console.log(query, config)
19
20
const firestore = new FirestoreBatch()
21
- await firestore.export(config, query)
+ await firestore.export(query, config)
22
} else {
23
throw new Error('Bad Request: destination unknown')
24
0 commit comments