
Check if collection contains records
Hi there, I want to check in a condition if a collection contains records, but I'm facing 2 ways to work this out;
A) !(blank?(var:time_records_step_c))
B) count(time_records_step_c.id) > 0
I was wondering which method is preferred, performance-wise.
Hi there, I want to check in a condition if a collection contains records, but I'm facing 2 ways to work this out;
A) !(blank?(var:time_records_step_c))
B) count(time_records_step_c.id) > 0
I was wondering which method is preferred, performance-wise.
Login to reply