Icon edb_jsondelete

Deletes a row from a cursor using Elevate Web Builder dataset JSON row values.

Syntax
edb_jsondelete(<CursorHandle>, <RowValues>,
                       [<LocalizedDateTimeColumns>])

<CursorHandle> =

Handle of cursor returned by edb_execute function

<RowValues> =

Associative array of column names and values

<LocalizedDateTimeColumns> =

Boolean indicating whether to convert date/time columns to local time

Returns
TRUE if successful, and FALSE if there are any errors

Usage
The edb_jsondelete function deletes a row from the specified cursor using the provided associative array of column names and values. The column values are expected to be in Elevate Web Builder format, meaning that data types like dates, times, or date/times (timestamps) will be expressed as integer Javascript timestamp values.

Warning This function moves the current row pointer in the cursor.

Please see the Elevate Web Builder manual for more information on datasets and the JSON data formats used with them.

Information This function is used exclusively by the Elevate Web Builder PHP DataSet Manager included with Elevate Web Builder for deleting rows using incoming JSON transaction data. Although it can be used outside of this context, it is made available primarily for use in this manner. The benefit of using this function is that it transparently handles date/time conversions (and all other types of data type conversions) properly between JSON and ElevateDB columns.
Image