concat()
Examples
This example concatenates two sets:
-
List the first set:
{ data: [ { id: "373417498731610145", coll: thisCustomer, ts: Time("2023-08-18T16:52:07.870Z"), name: "Adam" }, { id: "373417539205595169", coll: thisCustomer, ts: Time("2023-08-18T16:52:46.440Z"), name: "Betsy" } ] }
-
List the second set:
{ data: [ { id: "373417596170534945", coll: thatCustomer, ts: Time("2023-08-18T16:53:40.760Z"), name: "Wanda" }, { id: "373417628173074465", coll: thatCustomer, ts: Time("2023-08-18T16:54:11.280Z"), name: "Zelda" } ] }
-
Concatenate the two sets:
{ data: [ { id: "373417498731610145", coll: thisCustomer, ts: Time("2023-08-18T16:52:07.870Z"), name: "Adam" }, { id: "373417539205595169", coll: thisCustomer, ts: Time("2023-08-18T16:52:46.440Z"), name: "Betsy" }, { id: "373417596170534945", coll: thatCustomer, ts: Time("2023-08-18T16:53:40.760Z"), name: "Wanda" }, { id: "373417628173074465", coll: thatCustomer, ts: Time("2023-08-18T16:54:11.280Z"), name: "Zelda" } ] }
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!