Skip to contents

Used 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)