The OpenD Programming Language

CollectionOf

Base class for REST collections.

version(with_breaking_cgi_features)
class CollectionOf : RestObject!(CollectionOf)(
Obj
) {}

Members

Aliases

PostProxy
alias PostProxy = Obj

Proxy POST requests (create calls) to the child collection

Functions

index
IndexResult index()

You might subclass this and use the cgi object's query params to implement a search filter, for example.

Meta