removeFromArray

Removes a string from an array attribute. Does nothing if the value does not exist.

Return

This object instance, for method chaining

Parameters

key

The array attribute to remove the value to. Cannot be null. Must be a string of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

value

The value to remove. Cannot be null or empty. Must be a string no longer than 300 characters.


Removes a list of strings from an array attribute. Does nothing if an item does not exist.

Return

This object instance, for method chaining

Parameters

key

The array attribute to remove the value from. Cannot be null. Must be a string of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

values

The strings to remove. Cannot be null or empty. Must be strings no longer than 300 characters and max 25 items