Pagination
You can now paginate all your findAll
queries and endpoints: materiahq/materia-designer-public#14
Query configuration interface changed a bit :
page
is now supported
page
, limit
and offset
support parameters format with =
sign.
e.g.
{
"id": "getDoneTodos",
"type": "findAll",
"params": [
{
"name": "page",
"type": "number",
"required": false
}
],
"opts": {
"conditions": [
{
"name": "done",
"operator": "=",
"value": "true"
}
],
"limit": "10",
"page": "=page"
}
}
Bug fixes
- Fix findAll / findOne queries with no createdAt or updatedAt
- Fix updateField with required / no default value, and rows with null values
- Check naming collision when adding a relation