Skip to content

Latest commit

 

History

History
124 lines (68 loc) · 2.42 KB

class.MetaService.md

File metadata and controls

124 lines (68 loc) · 2.42 KB

directus-monorepo ( Readme | API )


directus-monorepo > MetaService

Class: MetaService

Constructors

constructor()

new MetaService(options): MetaService

Parameters

Parameter Type
options AbstractServiceOptions

Returns

MetaService

Source

api/src/services/meta.ts:13

Properties

accountability

accountability: any

Source

api/src/services/meta.ts:10


knex

knex: Knex< any, any[] >

Source

api/src/services/meta.ts:9


schema

schema: SchemaOverview

Source

api/src/services/meta.ts:11

Methods

filterCount()

filterCount(collection, query): Promise< number >

Parameters

Parameter Type
collection string
query Query

Returns

Promise< number >

Source

api/src/services/meta.ts:58


getMetaForQuery()

getMetaForQuery(collection, query): Promise< undefined | Record< string, any > >

Parameters

Parameter Type
collection string
query any

Returns

Promise< undefined | Record< string, any > >

Source

api/src/services/meta.ts:19


totalCount()

totalCount(collection): Promise< number >

Parameters

Parameter Type
collection string

Returns

Promise< number >

Source

api/src/services/meta.ts:38


Generated using TypeDoc and typedoc-plugin-markdown