Skip to main content

Constants for the fields of the /delete/records request.

Option fields

options

Constants for options.

pub const DELETE_ALL_RECORDS: &str = “delete_all_records”;

If set to true, all records in the table will be deleted. If set to false, then the option is effectively ignored.

pub const FALSE: &str = “false”;
pub const GLOBAL_EXPRESSION: &str = “global_expression”;

An optional global expression to reduce the search space of the expressions.

pub const RECORD_ID: &str = “record_id”;

A record ID identifying a single record, obtained at the time of insertion of the record or by calling /get/records/fromcollection with the return_record_ids option. This option cannot be used to delete records from replicated tables.

pub const TRUE: &str = “true”;