Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML cannot delete content in a Table
Forum Updated to NodeBB v4.3 + New Features

QML cannot delete content in a Table

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 155 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    biskero
    wrote on last edited by
    #1

    Hello,

    I am trying to delete the content of a table, basically clearing all the data.

    this is my statement:

    db.transaction(
                function(tx) {
                    tx.executeSql('DELETE FROM DistanceTable');
                }
    )
    

    Seems it's been executed since I do not get any error but values are still there.
    Is the syntax correct?

    The QML app is running on a mobile phone.

    thx

    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