[z2122] Add data iterator for SQLStorage to directly iterate over the data

(based on commit [12186] - d02682c)

(based on commit [s1748] - b69ea2a)