2021-01-27

Pulling firebase document gets superfluous data

I'm new to firebase, and when i perform a get command for a firestore document it returns a ton of data that are not fields i set myself. Is there anyway to get only the user defined data? Example below, only 6 of these were user defined fields. None of the others are even visible in the web console.

I: [] ​​ length: 0 ​​ : Array [] ​ J: true ​ O: Array [ () ] ​ P: Array [] ​ Sb: Object { l: "[redacted]", … } ​ W: function () ​ Xa: null ​ Y: Object { l: false, settings: {…}, W: "[redacted]", … } ​ Z: Object { l: false, settings: {…}, W: "[redacted]", … } ​ _lat: "[redacted]" ​ a: Object { c: "[redacted]", … } ​ b: Object { a: "[redacted]", c: 1611707738951, … } ​ da: Object { a: "[redacted]", b: {…} } ​ displayName: "[redacted]" ​ email: "[redacted]" ​ emailVerified: false ​ ga: null ​ h: null ​ i: Object { v: 0, B: "[redacted]", … } ​ isAnonymous: false ​ l: "[redacted]" ​ la: undefined ​ m: "[redacted]" ​ ma: "[redacted]" ​ metadata: Object { a: "[redacted]", … } ​ o: "[redacted]" ​ phoneNumber: null ​ photoURL: null ​ providerData: Array [ {…} ] ​ refreshToken: "[redacted]" ​ tenantId: null ​ u: Object { src: {…}, a: {…}, b: 3 } ​ uid: "[redacted]" ​ va: false ​ w: Object { c: 30000, f: 960000, a: 30000, … } ​ wa: function wa(e)​ xa: function xa(e)​ : {…



from Recent Questions - Stack Overflow https://ift.tt/39l3qIL
https://ift.tt/eA8V8J

1 comment:

  1. Utilizing ref.equalTo('someKey') is successfully utilizing a startAt and an endAt question consolidated. You're not permitted to utilize more than one of these question range articulations on a solitary ref, so Firebase gives the equalTo reach to allow you to indicate both. gents barber shop

    ReplyDelete