Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. How to get the list of all updated and Not updated row of Data base from server ?
Forum Updated to NodeBB v4.3 + New Features

How to get the list of all updated and Not updated row of Data base from server ?

Scheduled Pinned Locked Moved Unsolved C++ Gurus
4 Posts 2 Posters 484 Views
  • 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    I have implemented the code where i get the data using API. Now during data receiving if we receive from 1 to 999 rows instead of 1 to 1000 row due to network issue. i have to try again by sending api to receive 1 to 1000 row of database's table.

    actually i need to try again for receive 1000 th row only. But how to do it ? i don't know how to receive only remaining rows which not get due to network issue using sqlite based query in c++ ?

    It take to much time for only one row.

    JonBJ 1 Reply Last reply
    0
    • Q Qt embedded developer

      I have implemented the code where i get the data using API. Now during data receiving if we receive from 1 to 999 rows instead of 1 to 1000 row due to network issue. i have to try again by sending api to receive 1 to 1000 row of database's table.

      actually i need to try again for receive 1000 th row only. But how to do it ? i don't know how to receive only remaining rows which not get due to network issue using sqlite based query in c++ ?

      It take to much time for only one row.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Qt-embedded-developer
      Do you mean: You have an API, which we know nothing about, and you wish someone to tell you how to retrieve only selected data from it?

      Or, do you mean your API is an interface to SQL statements to retrieve rows from a database? And you want to know how to retrieve a single row using SQL (SQLite)?

      Finally, I do not understand how you get a "network issue using sqlite based query"? I thought that SQLite is only for local files, not network ones? In any case, I would worry more about any network issues themselves. If you have network issues affecting database row retrieval I don't see how you can use that approach reliably.

      Q 1 Reply Last reply
      1
      • JonBJ JonB

        @Qt-embedded-developer
        Do you mean: You have an API, which we know nothing about, and you wish someone to tell you how to retrieve only selected data from it?

        Or, do you mean your API is an interface to SQL statements to retrieve rows from a database? And you want to know how to retrieve a single row using SQL (SQLite)?

        Finally, I do not understand how you get a "network issue using sqlite based query"? I thought that SQLite is only for local files, not network ones? In any case, I would worry more about any network issues themselves. If you have network issues affecting database row retrieval I don't see how you can use that approach reliably.

        Q Offline
        Q Offline
        Qt embedded developer
        wrote on last edited by Qt embedded developer
        #3

        @JonB i am using curl library and Soap API to send request and response. Now curl library internally use my sim card network. Now when sim card Not has network at that time this type of situation get raise.

        Now when i receive the soap response i split that response and store into sqlite data base table.

        I hope my explanation is enough.

        JonBJ 1 Reply Last reply
        0
        • Q Qt embedded developer

          @JonB i am using curl library and Soap API to send request and response. Now curl library internally use my sim card network. Now when sim card Not has network at that time this type of situation get raise.

          Now when i receive the soap response i split that response and store into sqlite data base table.

          I hope my explanation is enough.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @Qt-embedded-developer
          As clear as mud. So what is your actual question? Is it a SQL/SQLite question about doing a SELECT, or something else? (Not that I even understand how SQLite is involved here or where it runs or how it can return 1 row less than your SELECT , or anything else.) You really need to explain what kind of an answer you are looking for....

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved