Permalink
Browse files

fix(Criteria): fix like criteria

  • Loading branch information...
RWOverdijk committed Apr 12, 2017
1 parent 0876a31 commit 5d4f7068aab89d6fa3dd9badc641294d8f000123
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Criteria/Criteria.ts
@@ -32,8 +32,8 @@ export class Criteria {
'notIn' : {operator: 'not in', value: value => value},
'is' : {operator: 'is', value: value => value},
'isNot' : {operator: 'is not', value: value => value},
'like' : {operator: 'like', value: value => value},
'notLike' : {operator: 'not like', value: value => value},
'like' : {operator: 'like', value: value => `%${value}%`},
'notLike' : {operator: 'not like', value: value => `%${value}%`},
'contains' : {operator: 'like', value: value => `%${value}%`},
'notContains' : {operator: 'not like', value: value => `%${value}%`},
'startsWith' : {operator: 'like', value: value => `${value}%`},

0 comments on commit 5d4f706

Please sign in to comment.