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