MCPcopy Create free account
hub / github.com/alephdata/aleph / entitySetItemsQuery

Function entitySetItemsQuery

ui/src/queries.js:76–83  ·  view source on GitHub ↗
(
  location,
  entitySetId,
  limit = Query.MAX_LIMIT
)

Source from the content-addressed store, hash-verified

74}
75
76export function entitySetItemsQuery(
77 location,
78 entitySetId,
79 limit = Query.MAX_LIMIT
80) {
81 const path = entitySetId ? `entitysets/${entitySetId}/items` : undefined;
82 return Query.fromLocation(path, location, {}, 'items').limit(limit);
83}
84
85export function investigationsQuery(location) {
86 const context = { 'filter:category': 'casefile' };

Callers 3

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 2

limitMethod · 0.80
fromLocationMethod · 0.80

Tested by

no test coverage detected