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

Function entitySetEntitiesQuery

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

Source from the content-addressed store, hash-verified

60}
61
62export function entitySetEntitiesQuery(
63 location,
64 entitySetId,
65 schema,
66 limit = Query.MAX_LIMIT
67) {
68 const context = {};
69 if (schema) {
70 context['filter:schema'] = schema;
71 }
72 const path = entitySetId ? `entitysets/${entitySetId}/entities` : undefined;
73 return Query.fromLocation(path, location, context, 'entities').limit(limit);
74}
75
76export function entitySetItemsQuery(
77 location,

Callers 3

querySchemaEntitiesFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 2

limitMethod · 0.80
fromLocationMethod · 0.80

Tested by

no test coverage detected