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