Gets a list of data from a bucket respecting the query options passed. You can get more information about what information can be passed with .find in our get documentation

Syntax
.find(/filter/)

Arguments

Field name
Type
Description
filter
object
[optional] 
Filter options when retrieving data.
variable
string/array
[optional]
Filter by variable. If none is passed, get the last data.
query
string
[optional]
Do a specific query. See the query documentation to know what can be passed.
end_date
string
[optional]
Get data older than a specific date.
start_date
string
[optional]
Get data newer than a specific date.
qty
number
[optional]
The number of data to be retrieved. The default is 15.

Returns {Promise<Array<JSON>>}