1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

Updating API docs #6434 to better describe the API for range and for oneOf operator.

This commit is contained in:
mike12345567 2022-07-05 18:47:30 +01:00
parent 9b41a2a438
commit 9a7c1e714b

View file

@ -150,6 +150,11 @@ read.push(new Endpoint("get", "/tables/:tableId/rows/:rowId", controller.read))
* query:
* type: object
* properties:
* allOr:
* type: boolean
* description: Specifies that a row should be returned if it satisfies
* any of the specified options, rather than requiring it to fulfill all
* the search parameters. This defaults to false, meaning AND logic will be used.
* string:
* type: object
* example:
@ -167,9 +172,9 @@ read.push(new Endpoint("get", "/tables/:tableId/rows/:rowId", controller.read))
* range:
* type: object
* description: Searches within a range, the format of this must be
* columnName -> [low, high].
* columnName -> { low: value1, high: value2 }.
* example:
* columnName1: [10, 20]
* columnName1: { low: 10, high: 20 }
* equal:
* type: object
* description: Searches for rows that have a column value that is
@ -192,6 +197,7 @@ read.push(new Endpoint("get", "/tables/:tableId/rows/:rowId", controller.read))
* type: object
* description: Searches for rows which have a column value that is any
* of the specified values. The format of this must be columnName -> [value1, value2].
* Note this is only supported for SQL based tables.
* paginate:
* type: boolean
* description: Enables pagination, by default this is disabled.