Highspirits
Member
Hi,
I have two collections with below structures:
collection-1
No. of rows = 20
No. of columns = 1
Collection-2
No. of rows = 2
No. of columns = 10
my task is to move the data from collection-1 to collection-2 where the first 10 rows of collection-1 should be populated in first in 1st row in collection-2, second 10 rows of collection-1 should be populated in 2nd row in collection-2.
Any thoughts on doing this task using loops/counters instead of doing in by manually hard coding the row/field names.
I have two collections with below structures:
collection-1
No. of rows = 20
No. of columns = 1
Collection-2
No. of rows = 2
No. of columns = 10
my task is to move the data from collection-1 to collection-2 where the first 10 rows of collection-1 should be populated in first in 1st row in collection-2, second 10 rows of collection-1 should be populated in 2nd row in collection-2.
Any thoughts on doing this task using loops/counters instead of doing in by manually hard coding the row/field names.