Python - How To Create Firestore Database

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 20

  • @Krullfath
    @Krullfath 9 месяцев назад +3

    tysm for this tutorial, literally all others didn't work except this one, appreciate it very much, now I can finally further develop my app

    • @BytesOfCode
      @BytesOfCode  9 месяцев назад

      Thank you for this! It is nice to know the videos are helping

  • @letsnot123
    @letsnot123 Год назад +1

    omg this was SO helpful! Thank you!! Can't wait to watch the next one ^_^

  • @DeSofSistemas
    @DeSofSistemas 10 месяцев назад +1

    That worked perfect!! Thank you so much. Now I ask you... is it possible to add more than one document at the same time?

    • @BytesOfCode
      @BytesOfCode  10 месяцев назад +1

      What i would recommend is using a loop to upload documents,
      # List of documents to add
      documents = [
      {'field1': 'value1', 'field2': 'value2'},
      {'field1': 'value3', 'field2': 'value4'},
      # Add more documents as needed
      ]
      # Add each document to the collection
      for document_data in documents:
      # Add a new document with an auto-generated ID
      new_document_ref = collection_ref.add(document_data)
      print(f"Document added with ID: {new_document_ref.id}")

  • @kaie27
    @kaie27 Год назад +1

    thanks, this was straight to the point. r u gonna make the other vids?>

    • @BytesOfCode
      @BytesOfCode  Год назад

      Yes! New video coming soon to explain other firebase functions. Thanks!

  • @yusra6864
    @yusra6864 8 месяцев назад

    How can I create or upload tables in the database ?

  • @jhevi9161
    @jhevi9161 Год назад +1

    thank you

  • @tehseenbaig3198
    @tehseenbaig3198 9 месяцев назад

    i dont understand what json file you give in the path? can anyone tell

  • @hibabennasr
    @hibabennasr 7 месяцев назад

    how to get data from storage in python

  • @jonathasrobison9167
    @jonathasrobison9167 Год назад +1

    Existe uma forma de criar categorias para ADM e users onde o ADM poderia por exemplo enviar uma imagem para o storege

    • @BytesOfCode
      @BytesOfCode  Год назад +1

      Grande quest, sim, existe. Em FireBase Console existe um arquivo de configuração que permite restringir o acesso e você pode se tornar muito específico nesse arquivo de configuração, com certeza incluirei isso em algum momento de meus vídeos.
      Além disso, para fazer upload de uma imagem no Firebase, você precisa convertê-la em Bytes antes de fazer o upload

    • @jonathasrobison9167
      @jonathasrobison9167 Год назад +1

      @@BytesOfCode vou tentar obrigado

  • @cloudsss83
    @cloudsss83 10 месяцев назад +1

    best tip you can get regarding firebase... don't use firebase.

  • @bobdean8165
    @bobdean8165 Год назад +1

    *Promosm*

  • @piquanttorture
    @piquanttorture Год назад +1

    Will there be any further updates for your ai assistent? I would love to see any

    • @BytesOfCode
      @BytesOfCode  Год назад +1

      We can always add on to the assistant! What is something you are interested in?

    • @piquanttorture
      @piquanttorture Год назад

      @@BytesOfCode I'd love to see a general guide on how to launch a custom scripts with the assistant and give any input arguments