Add sdb_foreach()