Module: getEntity

getEntity

require("getEntity")(category, filter)

services/getEntity.js, line 22

Retrieves all entity metadata for the given model and filter criteria

Name Type Description
category string

The category/type of the model

filter Object optional

A set of filter criteria

Name Type Description
include Object optional

Filters to include

exclude Object optional

Filters to exclude

options Object optional

Additional options

limit number optional

Maximum quantity to return

desc string optional

Property name for sort descending

asc string optional

Property name for sort ascending

getEntity module