DataAdapter#getFilters()

getFiltersArraypublic Defined in packages/ember-extension-support/lib/data_adapter.js:115 Specifies how records can be filtered. Records returned will need to have a filterValues property with a key for every name in the returned array. Returns: Array List of objects defining filters. The object should have a `name` and `desc` property.

DataAdapter#detect()

detect (klass) private Defined in packages/ember-extension-support/lib/data_adapter.js:249 Detect whether a class is a model. Test that against the model class of your persistence library. Parameters: klass Class The class to test. Returns: boolean Whether the class is a model class or not.

DataAdapter#containerDebugAdapter

containerDebugAdapterpublic Defined in packages/ember-extension-support/lib/data_adapter.js:68 Available since 1.5.0 The container-debug-adapter which is used to list all models. Default: undefined

DataAdapter#columnsForType()

columnsForType (type) Arrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:264 Get the columns for a given model type. Parameters: type Class The model type. Returns: Array An array of columns of the following format: name: {String} The name of the column. desc: {String} Humanized description (what would show in a table column name).

DataAdapter#attributeLimit

attributeLimitprivate Defined in packages/ember-extension-support/lib/data_adapter.js:79 Available since 1.3.0 The number of attributes to send as columns. (Enough to make the record identifiable). Default: 3

DataAdapter#acceptsModelName

acceptsModelNamepublic Defined in packages/ember-extension-support/lib/data_adapter.js:91 Ember Data > v1.0.0-beta.18 requires string model names to be passed around instead of the actual factories. This is a stamp for the Ember Inspector to differentiate between the versions to be able to support older versions too.

DataAdapter

Ember.DataAdapter Class PUBLIC Extends: EmberObject Defined in: packages/ember-extension-support/lib/data_adapter.js:20 Module: ember-extension-support The DataAdapter helps a data persistence library interface with tools that debug Ember such as the Ember Extension for Chrome and Firefox. This class will be extended by a persistence library which will override some of the methods with library-specific code. The methods likely to be overridden are: getFilters detect columnsForType getRecor

Data Tab

Data Tab You can inspect your models by clicking on the Data tab. Check out Building a Data Custom Adapter below if you maintain your own persistence library. When you open the Data tab, you will see a list of model types defined in your application, along with the number of loaded records. The Inspector displays the loaded records when you click on a model type. Inspecting Records Each row in the list corresponds to one record. The first four model attributes are shown in the list view. Cl

Customizing Serializers

Customizing Serializers In Ember Data, serializers format the data sent to and received from the backend store. By default, Ember Data serializes data using the JSON API format. If your backend uses a different format, Ember Data allows you to customize the serializer or use a different serializer entirely. Ember Data ships with 3 Serializers. The JSONAPISerializer is the default serializer and works with JSON API backends. The JSONSerializer is a simple serializer for working with single jso

Customizing Adapters

Customizing Adapters In Ember Data, the Adapter determines how data is persisted to a backend data store, such as the URL format and headers for a REST API. (The format of the data itself is determined by the serializer.) Ember Data's default Adapter has some built-in assumptions of how a REST API should look. If your backend conventions differ from these assumptions Ember Data makes it easy to change its functionality by swapping out or extending the default Adapter. Some reasons for customi