struct QueryPattern
- QueryPattern
- Struct
- Value
- Object
Overview
This checks if any field in a collection of fields matches a pattern. It is used in query loaders and response filters to match request parameters with a pattern to determine which items should appear in API responses.
A pattern is always two parts; a resource and an attribute separated by a dot
(.). Eg: user.name
, bearer_login.name
, login.*
.
IDs and foreign keys are always skipped because they are always already included in responses. Patterns that end with ".*" are wildcards.