Closed genusP closed 8 years ago
I use Jaydata 1.5.3 For this code:
context.onReady().then(ctx=>ctx.Organisations .filter("it.Name.contains(this.q) || it.Name.contains(this)", { q: q }) .toArray() .then(cb));
generates a condition:$filter=(substringof('tvv',Name) or substringof('{"q":"tvv"}',Name)) In oData v4 substringof replaced to contains
I use Jaydata 1.5.3 For this code:
generates a condition:$filter=(substringof('tvv',Name) or substringof('{"q":"tvv"}',Name)) In oData v4 substringof replaced to contains