Create conditions with javascript?

  • 1
  • Question
  • Updated 3 years ago
Is there a way to create conditions dynamically?

I need to create multiple subquery's based on each record in another model.
Photo of Brayden Smith

Brayden Smith

  • 1,220 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Vivek Gupta

Vivek Gupta

  • 378 Points 250 badge 2x thumb
This might be of help!

skuid.$M('ModelName').getConditionByName('ConditionName').values = 'values';