Skip to content

Instantly share code, notes, and snippets.

@chippinkston
Last active November 25, 2015 17:01
Show Gist options
  • Save chippinkston/48af01672c28389b44e7 to your computer and use it in GitHub Desktop.
Save chippinkston/48af01672c28389b44e7 to your computer and use it in GitHub Desktop.
ORM In Query
tickets = ormExecuteQuery("
select
tic
from
tickets as tic
join
tic.status as status
where
status.name IN (:status)
"
, {status = ['New','On Hold']}
, false
, {maxresults=20, offset=0}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment