Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › Using new JsonListModel with Firebase

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20903



    So i have just received the godsend of an e-mail talking about the new JsonListModel feature!

    It seems perfect for my use, my only question is could i intergrate this with my firebase database? I am currently struggling on deleting entries by ID and feel this could help. my current structure per JSON object is:


    Index: (Date at which the item was saved): {

    Name: Edd

    Details: Full Day

    Confirmed: Bool

    Date: (Selected Calendar date on save)



    one of these is created for each entry depending on user details in the FBDB

    would i be able to push my read into the JsonListModel format for use in displaying and also then deleting entries by id?





    Felgo Team

    Hi Edward,

    the JSON List Model is a View Type to be used in QML together with e.g. AppListView. Using this model has no effect on how you store the data on the server side, e.g. with Firebase.

    However, you can e.g. delete the Entry from Firebase, then load the FULL JSON structure, which has now one entry less. Assign the FULL JSON to the JsonListModel then, and then view will simply remove the deleted item and other elements in the list won’t be affected.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded