Skip to main content

find()

Find all records from the service.

const { data, error } = await kontenbase.service('posts').find()
NameTypeDescription
res.dataobjectResponse for data
res.statusnumberResponse for status code
res.statusTextstringResponse for status message
res.limitnumberResponse for data limit
res.skipnumberResponse for data skip
res.errorobjectResponse for error occurred
note
  • By default Kontenbase will return a maximum of 100 records to prevent from malicious requests.