I'm trying this command obviously as guessing :
node import.js firestore-export.json date=FoodGrains[0].product_adding_timestamp
^What I'm trying above is I have a List of Product objects as Maps in one Firestore Document and all these objects have two Timestamp fields "product_adding_timestamp" and "product_updating_timestamp". Trying the above-guessed command giving me this error :
Here's the screenshot of FoodGrains collection :
Here's the screenshot of fields every List object contains :
^I want to import product_adding_timestamp field values as Timestamp object, not as Map of _nanoseconds and _seonds keys.
Sorry. Because of not being a native English speaker I could not make this question brief.
I'm trying this command obviously as guessing :
node import.js firestore-export.json date=FoodGrains[0].product_adding_timestamp
^What I'm trying above is I have a List of Product objects as Maps in one Firestore Document and all these objects have two Timestamp fields "product_adding_timestamp" and "product_updating_timestamp". Trying the above-guessed command giving me this error : Here's the screenshot of FoodGrains collection : Here's the screenshot of fields every List object contains : ^I want to import product_adding_timestamp field values as Timestamp object, not as Map of _nanoseconds and _seonds keys. Sorry. Because of not being a native English speaker I could not make this question brief.