Search
ctrl/
Ask AI
Light
Dark
System

Insert

Subtopics

One way to insert multiple pieces of data in a single command is to use the for query. Basically, this construct allows you to iterate over some input set and perform some operation on each element. It's somewhat like invoking a function element-wise on the input set, without having to define the function.

Consider the following example that uses JSON as its input (which could come from some external source or even be passed as a parameter):

Input
Run
Output Objects
Press the 'Run' button to evaluate the input

Let's see what we've just inserted:

Input
Run
Output Objects
Press the 'Run' button to evaluate the input