Add all the lines of my database

Hello, I start learning the wixcode. I understood how to make opretation on a line of my database but I do not know how to add all the lines of my database. for example to make a bill of several elemen