select
Allows to pick which fields to include in the result.
- Javascript
- Go
- PHP
- API
const { data, error } = await kontenbase.service('posts').find({
select: ['name'],
})
resp, err := client.Service("posts").Find()
.SetSelect([]interface{}{"name", "notes"})
$res = $kontenbase->service('posts')->find([
'select' => ['name', 'notes']
]);
[GET]
https://api.kontenbase.com/query/api/v1/API_KEY/posts?$select[0]=name