Dynamic Children Query Versus Backend Query: What's the difference? - Flutterflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 เม.ย. 2023
  • In this short tutorial, I will address some of the main differences between a standard backend query and a dynamic children query, how I use them, why I use them, and where document from reference plays a role in querying dynamic children. Understanding how, why and when you would use dynamic children instead of a backend query can make generating data for users much easier and less time consuming.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 55

  • @leonlim1625
    @leonlim1625 ปีที่แล้ว +1

    Great explanation on the concept and use case for Dynamic Children and Backend Query. Enjoy your well-deserved vacation and look forward to more tutorials in the coming week. Cheers

  • @beepypeepy
    @beepypeepy ปีที่แล้ว

    Looking forward to more! Enjoy your much-deserved vacation!

  • @IspyrGameDev
    @IspyrGameDev ปีที่แล้ว

    Excellent tutorial and well explained, the last step was tripping me up. Cheers! You have a new sub

  • @iusoa
    @iusoa ปีที่แล้ว

    Thank you so much for this tutorial!! You've saved me

  • @ermanozkaya
    @ermanozkaya ปีที่แล้ว

    This a very beneficial tutorial. Thank you

  • @iam-peacemaker
    @iam-peacemaker หลายเดือนก่อน

    Very powerful, great tut.

  • @JOCV1
    @JOCV1 หลายเดือนก่อน

    Thank you so much!

  • @sharoni3d
    @sharoni3d 2 หลายเดือนก่อน

    thank you so much for making this video I wasn't able to figure out how to display those damn info

  • @citywomanng9420
    @citywomanng9420 ปีที่แล้ว

    Thank you so much. This was really helpful

  • @elijahmurray
    @elijahmurray 6 หลายเดือนก่อน

    Very helpful. Thanks!

  • @guyfeigin1543
    @guyfeigin1543 10 หลายเดือนก่อน

    Great video. I have background in C.S so I can understand what's happening under the hood,i.e lists and pointers. I think that if you drew diagrams of pointers and lists can help to understand better. Thanks again !!!

  • @EmblazNOR
    @EmblazNOR ปีที่แล้ว

    Thank you! Enjoy your vacation, sincerely

  • @jwolpert
    @jwolpert 3 หลายเดือนก่อน

    Outstanding!

  • @DeSofSistemas
    @DeSofSistemas ปีที่แล้ว

    Excelente!!!

  • @ochoonce9882
    @ochoonce9882 ปีที่แล้ว

    thanks, a lot!

  • @maliktangopremiere
    @maliktangopremiere 9 หลายเดือนก่อน

    Thanks

  • @raffaelyork
    @raffaelyork 5 หลายเดือนก่อน

    Hi, nice vid! Would you mind creating a video where you can explain what's the difference between Doc Reference and Query Collection?

  • @jeanpierreunis
    @jeanpierreunis 5 หลายเดือนก่อน

    thanks !

  • @MTGameMaker
    @MTGameMaker 2 หลายเดือนก่อน

    thanks i was looking for this but i am just worried that it may take to many calls to the database !!!

  • @amritbanerjee
    @amritbanerjee 5 วันที่ผ่านมา

    Which costs more eventually? Getting all the documents info in one query or getting each document’s info one query at a time?

  • @travl4457
    @travl4457 หลายเดือนก่อน

    Great video! Appreciate the help. Follow-up, how would you go about filtering the document references returned in your example? Say each user document had a field "status" that was a boolean. So the goal would be to return the list of friends as you did but only the ones where their status field was == TRUE? When I try to filter list items instead of map list items in the generate children settings, there are no options available...but maybe I am doing it incorrectly?

    • @teknesis7339
      @teknesis7339  หลายเดือนก่อน +1

      Use visibility control on your parent widget in your listview. Set conditional visibility to only display documents that meet the boolean condition as needed.

    • @travl4457
      @travl4457 หลายเดือนก่อน

      @@teknesis7339 thx had to make another container but it worked

  • @Caden_Burleson
    @Caden_Burleson 7 หลายเดือนก่อน

    Could you go through some of the options @4:30 You say you could use array contains, but then don't do it. I'm curious of the various other ways you might be able to set something like this up.

  • @BriqueStudios
    @BriqueStudios วันที่ผ่านมา

    So I have a list of categories. Everything is going smoothly until I try to create a document in a subcategory based on the list of categories ; then I can’t query that sub collection / cat when I click on the category. Help please?

  • @vince2nd
    @vince2nd ปีที่แล้ว +2

    Thank God for your videos. I dont think Flutterflow has made a decent video explaining this concept.
    I think i'm getting the hang of it now (document reference, etc).
    I wish Flutterflow would simplify the process though... one of the things that confused me in the beginning was: having "Document from reference" under Backend Query section, but also have Document from reference in the Variable section and also in the Firestore section.
    7:52 is confusing if you dont know/ never done this. So thanks for clearing that up.
    The only other part that would confuse me is passing parameters from page to page.
    Like if i got the list of users and wanted to visit that users profile, would i need to pass a parameter and the doc reference or the entire document?? It gets confusing after a while.

    • @teknesis7339
      @teknesis7339  ปีที่แล้ว +2

      Yeah passing references isn’t hard once you get the hang of why and what you’re passing. To your example, if you have a list of users, you’d set a navigate action to their profile and set a page-level parameter in that navigate action, and set it to document reference > users, which will PSs that user’s information to the profile page. Then generate a backend query > document from reference and select that page level reference you passed to get the user’s information, where you can then fill in the details on the profile page (name, photo, etc).

    • @vince2nd
      @vince2nd ปีที่แล้ว +1

      @@teknesis7339 I think that last part is where I was screwing up.. I'd choose query database instead of document reference.
      But yea that makes sense

  • @AlfaRomeoFox
    @AlfaRomeoFox หลายเดือนก่อน

    Everything goes well until I reached minute 7:56... it seems that something changed on FF that it doesn´t allow to choose the friendslist item, because in this version index in list (in red) doesn´t go away and it appear a message "variable not valid". Do you have any update... I will much appreciate it.

  • @meroces1
    @meroces1 4 หลายเดือนก่อน

    Hey I have one question: I created a list just like this, but with one difference. I want to update the data of this list items right away (e.g. the displayed name). --> I created a site where you can increase a counter for rooms in a flat. In the cards, I also have two textfields that should serve as input for further data to update documents in firestore with.
    Is there a way to capture these dynamically generated textfields so that I can use these data for updating documents?
    Thank you so much for your videos!

    • @teknesis7339
      @teknesis7339  3 หลายเดือนก่อน

      Join my Discord to get help

    • @amritbanerjee
      @amritbanerjee 5 วันที่ผ่านมา

      You could do a page load action of querying all the documents in a loop using the index and appending it to a page parameter that takes lists. You then use the page parameter in your widget.

  • @ketz7261
    @ketz7261 ปีที่แล้ว

    Do you have tutorial for movies app to view a videos in different resolution?

  • @user-qr6dl3yp4t
    @user-qr6dl3yp4t 3 หลายเดือนก่อน

    Sir if I have 100 datas and need to show 10 collection in each page view and in next page of page view I will show another 10 collection of data. Can I achieve this with generate dynamic children? How can I make it such that next page view will show other 10 data from same table but not the ones in previous page and so on for 10 pages? Do I need to do create 10 pages and do It manually or is there some other efficient way to do that?

  • @AlexMusatkin
    @AlexMusatkin 8 หลายเดือนก่อน

    How do you test infinite scroll in List view in Run/TEst modes?

    • @teknesis7339
      @teknesis7339  8 หลายเดือนก่อน

      You just turn inf on in the list and then enter test mode...

  • @MyGoldenCleaners
    @MyGoldenCleaners 10 หลายเดือนก่อน

    Holy been looking for someone to help me do this.. 10likees

  • @Cesarkzz
    @Cesarkzz ปีที่แล้ว

    ¿Is it possible to upload a csv file to a subcollection?

    • @teknesis7339
      @teknesis7339  ปีที่แล้ว

      I’m not sure. I haven’t tried that

  • @user-ew8ys1ib7u
    @user-ew8ys1ib7u 11 หลายเดือนก่อน

    Any chance to order your results?

    • @teknesis7339
      @teknesis7339  11 หลายเดือนก่อน

      Not easily within FF alone

  • @ezenniachinedu8823
    @ezenniachinedu8823 10 หลายเดือนก่อน

    Please I want my tabbar to generate dynamically and also the tabbar page contents. so basically, if a user adds a particular document to a collection, a tab is automatically created for it and the tab page is populated accordingly. Thank you

    • @teknesis7339
      @teknesis7339  10 หลายเดือนก่อน

      You'll need custom code

    • @ezenniachinedu8823
      @ezenniachinedu8823 10 หลายเดือนก่อน

      @@teknesis7339 thank you

    • @teknesis7339
      @teknesis7339  10 หลายเดือนก่อน

      Or conversely, yoy could mimick a tab bar by creating the tabs with containers and text and use pageview as the swipeable container, using page state to keep track of the current pageview index to update the container tabs accordingly.
      You could then generate both the pageview and container tabs dynamically, giving the impression its a tab view widget

  • @infinixbolt5851
    @infinixbolt5851 ปีที่แล้ว

    Mine is showing an endless loading icon in that list following the tutorial

    • @teknesis7339
      @teknesis7339  ปีที่แล้ว

      Do you have any data in the field your referencing? If there’s no data, it won’t load anything

    • @infinixbolt5851
      @infinixbolt5851 ปีที่แล้ว

      @@teknesis7339 yes, there's data

    • @teknesis7339
      @teknesis7339  ปีที่แล้ว

      Are your rules deployed correctly? You’ll just have to go through your app and troubleshoot until you find the Issue and can fix it. I can show you how to implement a solution but everyone’s app and app structure is different, so it’s important to be able to troubleshoot your own issues.

    • @infinixbolt5851
      @infinixbolt5851 ปีที่แล้ว

      What's the rule supposed to be set to?? You think it's the app's fault or the solution just doesn't work?

    • @teknesis7339
      @teknesis7339  ปีที่แล้ว

      I’m confident the solution works, as I use it frequently throughout my apps. So, there’s likely a misconfiguration on your end

  • @Caden_Burleson
    @Caden_Burleson 7 หลายเดือนก่อน

    @7:58 I get "Current variable is not valid"...

    • @teknesis7339
      @teknesis7339  7 หลายเดือนก่อน

      It's possible due to FF updates since this video was made, there may be new null checks in play that need to be addressed

    • @RodrigoMiranda-yy9nz
      @RodrigoMiranda-yy9nz 4 หลายเดือนก่อน

      the same for me, do you know what it is?@@teknesis7339