$gte
Find all records where the value is more and equal to a given value.
- Javascript
- Go
- PHP
- API
const { data, error } = await kontenbase.service('posts').find({
where: {
total: { $gte: 10 },
},
})
resp, err := client.Service("posts").Find()
.SetWhere(map[string]interface{}{
"number": map[string]interface{}{
"$gte": 10,
},
})
$res = $kontenbase->service('posts')->find([
'where' => [
'total' => ['$gte' => 10]
]
]);
[GET]
https://api.kontenbase.com/query/api/v1/API_KEY/posts?total[$gte]=10