$ne
Find all records that do not equal the given property value.
- Javascript
- Go
- PHP
- API
const { data, error } = await kontenbase.service('posts').find({
where: {
name: { $ne: 'Ega' },
},
})
resp, err := client.Service("posts").Find()
.SetWhere(map[string]interface{}{
"notes": map[string]interface{}{
"$ne": "hello",
},
})
$res = $kontenbase->service('posts')->find([
'where' => [
'name' => ['$ne' => 'Ega']
]
]);
[GET]
https://api.kontenbase.com/query/api/v1/API_KEY/posts?name[$ne]=Ega