Updating Data - Firebase Firestore

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • In this video you will learn how to update specific parts of your data in your firestore database.
    ⭐ Get certificates for your future job
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/...
    Get the source code here:
    github.com/phi...
    Regular Android tutorials on my Instagram: / philipplackner_official
    Checkout my GitHub: github.com/phi...

КОМЕНТАРІ • 21

  • @prakashm5711
    @prakashm5711 4 роки тому +4

    Your channel is the best youtube channel for android developers

  • @Azronnn
    @Azronnn 4 роки тому +6

    Ok
    Sir,
    you have absolutely no idea how big of a help you are.. Like absolutely no idea. I am officially spreading the word on the existence of this channel to all my nerd Whatsapp groups
    But also, my polite requests
    1. Never stop using Kotlin. Please.. We also prefer it to other languages
    2. Completely exhaust your firebase firestore series with kotlin.. Esp emphasy on the querying and data retrieving part.. And SORTING DATA This are the most challenging .
    all in all. Keep safe, thanks for your hard work.

    • @PhilippLackner
      @PhilippLackner  4 роки тому +1

      Thanks a lot for taking your time ❤️ I'm glad my content helps you

  • @diskyariajetmiko
    @diskyariajetmiko 3 роки тому

    Dude you are really helping, I hope some of the person you help got big with their app donate to you accordingly!

  • @hanadanefa7837
    @hanadanefa7837 4 роки тому +1

    subbed, thanks for your gold tutorial and video. I'll recommend your channel to fb for those have difficulties also in firebase. I hope you make more of this gold tutorial. thanks.

  • @AlovuddinKambarov
    @AlovuddinKambarov 3 роки тому +1

    Thanks bro

  • @АлексейРодионов-ы8о

    Great, thanks

  • @hanadanefa7837
    @hanadanefa7837 4 роки тому +1

    I just want to ask how can I get the id that is generated by firestore and store it also as value in field name (id as an example)?

    • @al_ee
      @al_ee 4 роки тому

      Not sure if this is best practice but -
      val id = yourReference.add(field).await().id
      yourRef.document(id).update("fieldToUpdate", id).await()
      Creates a variable "id" and assigns the uploaded data's ID to it, then updates a field within the document you've just created, in my case it updates "fieldToUpdate" with the data ID

    • @al_ee
      @al_ee 4 роки тому

      You'd want to use transactions if possible though

  • @aswiniashok4662
    @aswiniashok4662 3 роки тому

    If I should show a pop up message in my phone screen when we change data in fire store, what should I do?????

  • @statusworld2072
    @statusworld2072 2 роки тому

    Please can you help me how we can set timestamp on firebase firestore on kotlin and java please help

  • @arpitgupta3151
    @arpitgupta3151 3 роки тому

    I'm getting "No person match with the query" error when I try to update

  • @garri5108
    @garri5108 3 роки тому

    But if there are several persons matched query but we wanna update just specific one, what should we do ?

    • @PhilippLackner
      @PhilippLackner  3 роки тому

      access a document by its id

    • @garri5108
      @garri5108 3 роки тому

      @@PhilippLackner oh, sorry, already understood, forgot delete the comment 👊 thanks

  • @AbdulWahab-kk1hs
    @AbdulWahab-kk1hs 3 роки тому +2

    Mark Suckerberg 🤣🤣

  • @Berk45632
    @Berk45632 4 роки тому +1

    Mark Zukerberg is 36 years old. But yeah, he sucks so make him old. :P

  • @ajaygalagali5963
    @ajaygalagali5963 3 роки тому

    :)