Lucee object methods reference

Object Method Struct.append

Appends all the data from struct2 into struct2, replacing duplicate keys unless specified by the overwrite flag
Struct.append(struct Struct2,[boolean OverwriteFlag]):boolean

Category

struct

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
Struct2 struct  Yes   Structure that contains the data to append to struct1
OverwriteFlag boolean  No true - true (default): values in struct2 overwrite corresponding values in struct1.