Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Ali,
hmm.. I guess the List you are getting back from sql.rows(..) is a list of maps containing each rows values, so maybe you will need to loop these and build the desired string manually
def str = ''
myList.each
{
if( str.length() > 0 ) str += ','
str += it['email'];
}
log.info( str )
Hope this helps!
/Ole
eviware.com
hmm.. I guess the List you are getting back from sql.rows(..) is a list of maps containing each rows values, so maybe you will need to loop these and build the desired string manually
def str = ''
myList.each
{
if( str.length() > 0 ) str += ','
str += it['email'];
}
log.info( str )
Hope this helps!
/Ole
eviware.com
Related Content
- 2 months agoStoplight
- 2 months agoStoplight
- 3 years agogeneticmaterial