Is next() and _next() same?

SUMITHA S
Kilo Contributor

Hi,

  I have a question whether next() and _next() is same or different?

1 ACCEPTED SOLUTION

Afrith Shariff
Tera Guru

next() method is responsible to move to the next record in GlideRecord. _next() provides the same
functionality as next(), intended to be used in cases when we query the table having a column name as
next.

View solution in original post

1 REPLY 1

Afrith Shariff
Tera Guru

next() method is responsible to move to the next record in GlideRecord. _next() provides the same
functionality as next(), intended to be used in cases when we query the table having a column name as
next.