Skip to main content
Version: 6.1

Kill Table

Kill Table

Deletes one or more records from the specified Database Table, allowing you to choose between Synchronized or Not Synchronized records.

Action available for the following operating systems:

OS Supported: Android, iOS, Win, Win32

Parameters​

Marked as

  • All - Where will be applied to all of the records of the Table.
  • Synchronized - Where will be applied only to the records who are already synchronized with the server.
  • Not Synchronized - Where will be applied only to the records who haven't been synchronized with the server.
  • Table - Offline Database Table.
  • Where <Kalipso Filter> or <string> - Condition to specify which records should be deleted. Check Expressions chapter for more information about Kalipso Filter and String expressions.

Usage​

Consider the following database table:

Products
CodeNameStockStatus
1Coca Cola100Synchronized
2Pepsi Cola200

Not Synchronized

3Pork Chops300Not Synchronized

Example 1

Marked asAll
TableProducts
WhereFIELD(Products,Name) LIKE "%Cola"

Result:

CodeNameStock
3Pork Chops300

Example 2

Marked asSynchronized
TableProducts
WhereFIELD(Products,Name) LIKE "%Cola"

Result:

CodeNameStock
2Pepsi Cola200
3Pork Chops300
info

This function only works with offline database tables.

info

When you specify more than one condition in Where parameter, the operator used between the conditions is "AND" or "OR".