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