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

Function entitySetSchemaCountsQuery

ui/src/queries.js:53–60  ·  view source on GitHub ↗
(entitySetId)

Source from the content-addressed store, hash-verified

51}
52
53export function entitySetSchemaCountsQuery(entitySetId) {
54 const path = entitySetId ? `entitysets/${entitySetId}/entities` : undefined;
55 return new Query(path, {}, {}, 'entities')
56 .add('facet', 'schema')
57 .add('filter:schemata', 'Thing')
58 .add('filter:schemata', 'Interval')
59 .limit(0);
60}
61
62export function entitySetEntitiesQuery(
63 location,

Callers 1

mapStateToPropsFunction · 0.90

Calls 2

limitMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected