Set the value of a field in a table
setValueInField.RdUsed to change the value of a field for all rows (i.e. docs) returned by `seearchBlock`
Usage
setValueInField(dbComm, tableName, field, value, searchBlock = list())Arguments
- dbComm
DbComm connection object
- tableName
Name of table in database, wildcards are permitted
- field
table column (field) name see mappings
- value
value to set or add
- searchBlock
list coercible to json for Elasticsearch Search API (Query DSL) to select a subset of rows to query or change. Default is all table rows.