Convert each multiline line into "new thing"


i’m actually prototyping an app that needs user to type quite a bunch of lines.
Each of these lines is regarded as a unit of meaning.
So my question is : how can i convert each line of the multiline input into a “unit of meaning” record in the DB ?

Thanks for any help ! :slight_smile:

Best regards,

Guillaume Maison