Skip to content

Commit 0dd57fc

Browse files
committed
Add nei to Entity Service API
1 parent a017aaa commit 0dd57fc

File tree

1 file changed

+16
-0
lines changed
  • docusaurus/docs/dev-docs/api/entity-service

1 file changed

+16
-0
lines changed

docusaurus/docs/dev-docs/api/entity-service/filter.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,22 @@ const entries = await strapi.entityService.findMany('api::article.article', {
174174
});
175175
```
176176

177+
### `$nei`
178+
179+
Attribute does not equal input value (case-insensitive).
180+
181+
**Example**
182+
183+
```js
184+
const entries = await strapi.entityService.findMany('api::article.article', {
185+
filters: {
186+
title: {
187+
$nei: 'abcd',
188+
},
189+
},
190+
});
191+
```
192+
177193
### `$in`
178194

179195
Attribute is contained in the input list.

0 commit comments

Comments
 (0)