Queryable
public protocol Queryable
The base Queryable protocol to find collections for content types, assets, and entries.
-
This is a generic find method which can be used to fetch collections of
ContentType
,Entry
, andAsset
instances.Declaration
Swift
func find<ResourceType>(_ completion: @escaping ResultsHandler<ContentstackResponse<ResourceType>>) where ResourceType: Decodable & EndpointAccessible
Parameters
completion
A handler which will be called on completion of the operation.