You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the .forEach or .cursor methods to iterate returned rows (in the case of large datasets) is there a way to access the column definition information prior to or during that iteration ?
Activity
tx0c commentedon Nov 4, 2022
and when have
.forEach
, why not have an index? a.k.a design it mimicArray.forEach
better, like:Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
in the form of
.forEach((row, index, array) => {}, thisArg)
I don't really care aboutarray, thisArg
but the index is really needed, and useful