This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Refines a query to match items where the specified property doesn't equal the specified value.
The ne()
function refines a LoyaltyAccountsQueryBuilder
to match only items where the value of the specified propertyName
doesn't equal the specified value
.
ne()
matches only values of the same type. For example, 0
stored as a number doesn't match '0'
stored as a string.
Matching strings with ne()
is case-sensitive, so 'text'
isn't equal to 'Text'
.
function ne(propertyName: string, value: any): LoyaltyAccountsQueryBuilder;
Property whose value is compared with value
.
Value to compare against.
const query = accounts
.queryLoyaltyAccounts()
.ne("_id", "bb19b637-74ce-55d3-ae32-430b588051da");
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.