How in the code function remove a field?
Pawel Kwiatkowski
Posts: 25 ✭
in Stream
I would like remove a field from event like using eval
0
Best Answer
-
You can use the
delete
operator.For example, if you had a top level field,
myField
, you could use the following syntax to delete it:delete __e['myField']
We use
__e
to define the event context. See more here:0
Answers
-
You can use the
delete
operator.For example, if you had a top level field,
myField
, you could use the following syntax to delete it:delete __e['myField']
We use
__e
to define the event context. See more here:0