List Iterator

The list iterator is designed for simple cases where you want to take an array of strings and convert each string to one row in your database.

For example, suppose you have an array of hashtags:

    "interaction": {
        "hashtags": [
            "big data",
            "data science",

This .INI code:

[LINKS :iter = list_iterator(interaction.hashtags)]
ID =
HASHTAG = :iter._value

Writes three database rows in this case.

12345... big data
12345... data science
12345... cloud

HASHTAG is constructed from the data in the interaction. The underscore in _value in the INI files indicates that the data is built on the fly rather than simply pulled directly from the interaction.