No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    using sqlite database with quasar

    Help
    7
    11
    7556
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rstoenescu
      rstoenescu Admin last edited by

      Hi,

      You can use Web SQL databases. http://html5doctor.com/introducing-web-sql-databases/
      Any cordova plugin would work too. Nothing special to how Quasar works on Cordova. Anything working with a bare bone cordova app will also work with Quasar.

      1 Reply Last reply Reply Quote 0
      • P
        PavelPolyakov last edited by

        @rstoenescu
        Thanks for the answer and for the library itself.

        However, do you think that Cordova plugins would be able to work while being under quasar dev ios ?
        Or only after we wrap the application into Cordova and run on the emulator.

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Only after wrapping the app into Cordova and running it on a mobile device or on emulator.

          1 Reply Last reply Reply Quote 0
          • druppy
            druppy last edited by

            Just as a note … some of the browsers support’s this API, see : https://www.tutorialspoint.com/html5/html5_web_sql.htm

            And then the workflow becomes much more light.

            1 Reply Last reply Reply Quote 1
            • D
              dicarvalho last edited by

              One question: WebSql has not been discontinued?

              s.molinari 1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari @dicarvalho last edited by

                @dicarvalho

                http://stackoverflow.com/questions/20653418/why-is-cordova-using-web-sql-api-which-has-been-deprecated

                Scott

                1 Reply Last reply Reply Quote 0
                • D
                  dicarvalho last edited by

                  Thanks @s-molinari, I’m going to use WebSql in a new project, I have not yet made use of plugins cordova with quasar.

                  1 Reply Last reply Reply Quote 0
                  • G
                    glot last edited by

                    Ooh, be careful! Web SQL has been deprecated for a long time, and dropped by Firefox & Edge: http://caniuse.com/#feat=sql-storage
                    That stackoverflow article is pretty outdated, and IndexedDB is now supported by iOS: http://caniuse.com/#feat=indexeddb
                    FYI, this page is a great resource for articles, offline-storage standards and 3rd-party libraries: https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa

                    1 Reply Last reply Reply Quote 2
                    • king_of_leon
                      king_of_leon last edited by

                      what is the best practice for using database other then firebase for mobile devices mainly ?
                      Thanks in advance

                      1 Reply Last reply Reply Quote 0
                      • s.molinari
                        s.molinari last edited by

                        @king_of_leon - Firebase isn’t a database for mobile devices per se, like what is discussed above (databases that work in the client’s own device). Firebase is a backend system, which a front-end app can connect to via a web api.

                        Scott

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post