Here is my code:
TransactionCollection transactions = new TransactionCollection();
transactions.Where("next_action", "RESEND");
transactions.Where("job_id", CurrentJob.Id);
transactions.Load();
I really want it to say next_action is RESEND or next_action is TARGET. Thanks.
Basically I want a select statemnt like this:
select * from transactions where job_id = 1 and (next_action = 'RESEND' OR next_action = 'TARGET');
or
select * from transactions where job_id = 1 and next_action IN ('RESEND', 'TARGET');