Skip to content

Commit

Permalink
fix(tests): adds additional operator tests (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldcaddy77 authored Jul 29, 2019
1 parent eff71f5 commit 7721d9e
Show file tree
Hide file tree
Showing 3 changed files with 699 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/torm/operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ export function getFindOperator(key: string, value: any): [string, FindOperator<
return [attr, IsNull()];
}
return [attr, Equal(value)];
case 'not':
return [attr, Not(value)];
// // Not using "not" yet
// case 'not':
// return [attr, Not(value)];
case 'lt':
return [attr, LessThan(value)];
case 'lte':
Expand Down
Loading

0 comments on commit 7721d9e

Please sign in to comment.