New topic Closed topic
avatar image
1
Check if collection contains records
By Created , last editted

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.

Answers
Sort by:

This topic is closed.