How to use substringof in azure-mobile-apps-js-client
问题 I want to make use of odata substringof method using azure-mobile-apps-js-client. Currently I use indexof method but want to switch to substringof. I have this code function queryFunction(term){ return this.FullName.indexOf(term) != -1 } table.where(queryFunction, term) Which translates to $filter=indexof(FullName, term) ne -1 I need URL like this: filter=substringof(term, FullName) eq true How do I do that with javascript ? 回答1: azure-query-js supports a limited set of Javascript functions