Declare two variables
dim m as map
dim l as list
m.initialize
l.initialize
for each field you want to add
I do not know the source of your data
read from source loop
m.put("dbfield1",yourfield1value)
m.put("dbfield2",yourfield2Value)
m.put("dbfield3",yourfield3Value)
l.add(m)
once you have all the records added to the list use dbutils class
dbutils.insertmaps(sql,"YourTable",l)