3.2.5. Database

The database node is mainly used to store process data and result data, and an Agent & Agent can only add one database node.

The node can add the number of input elements, and after customizing the names of the elements, you can choose to Quote variables from previous nodes or choose to customize an element of a specific type.

Output

The output of the Database is an array of objects. The outermost layer of data is an array, represented by square brackets []. The array contains an object, and the elements in the array are objects, represented by curly braces {}. The object contains four key-value pairs. Each key-value pair consists of a key and a value, separated by a colon :. A specific example is shown in the image below.

Input 4 elements of type String, with values "1", "2", "3", "4", the data output of the database is [{"a":"1","b":"2","c":"3","d":"4"}], and the row_num output is 0 (0 represents only 1 row).

Database Management

After testing and publishing the project, the STARSG platform also provides users with convenient management of the database. After publishing, users can view the data stored in the DataBase node of their published project on the main page's Databases page, allowing them to view or export the data they want to use in a timely manner. Image

results matching ""

    No results matching ""