Efficient way to add row to a datatable in Apps

Linking to another post about the query.