Skip to contents

Add value to an array field

Usage

addValueToArray(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)

See also

`removeValueFromArray`