Show:

Mixin for Adapter to support fetching models using projection.

Item Index

Methods

urlForQueryRecord

(
  • query
  • modelName
)
String public

Builds a URL for a given type and query. Optionally, it supports an ID in the query parameters for fetching a definite record.

See urlForQueryRecord for details.

Parameters:

  • query Object

    Query parameters.

    • [id] String optional

      ID of a record.

  • modelName String

    Record type.

Returns:

String:

url URL for query a record.