Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

firestore save a score as a number not a string in js

....
    db.collection('users').doc(user.uid).collection('items').doc('manual').collection('transactions').add({
      amount: createForm.amount.Value,
      name: createForm.name.value,
      category: createForm.category.value,
      date: createForm.date.value,
      userUID: user.uid
    })
....
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #firestore #save #score #number #string #js
ADD COMMENT
Topic
Name
6+3 =