[ROOT] / doc / toc / ARCAPI / Class / RQController
RQ = REST Query. Executes a REST like query request against the given DataStorage.
Example: https://yourserver.com/RQ/dt/Customer/42
This class understands two main query-methods,
1) Direct key-based into data storage, and
2) QueryExpression based.
Examples of 1) Direct key-based into data storage queries:
'Customer/42' => Get all the keys for Customer with id 42, but do not get sub-keys.
'Customer/42/*' => Get all the keys for Customer with id 42, and also all underlying sub-keys (and their sub-keys and so on).
Append query with '.json' in order to get JSON (default is HTML) .
For HTML this controller is able to do LinkInsertionInDocumentation, presumed that DocLinks is set.
Examples of 2) QueryExpression based queries.
'Customer/WHERE FirstName = John/SELECT FirstName, LastName/SKIP 10/TAKE 10'
(see QueryExpression for more examples).
APIMethod | The (only) API method that this controller supports. |
ToString | TODO: Decide on what we actually want with ToString for this class. |
Generated 2024-11-14 04:19:39.478 UTC