MCPcopy
hub / github.com/directus/directus / query

Method query

sdk/src/graphql/types.ts:2–2  ·  view source on GitHub ↗
(
		query: string,
		variables?: Record<string, unknown>,
		scope?: 'items' | 'system',
	)

Source from the content-addressed store, hash-verified

1export interface GraphqlClient<_Schema> {
2 query<Output extends object = Record<string, any>>(
3 query: string,
4 variables?: Record<string, unknown>,
5 scope?: 'items' | 'system',

Callers 15

applyFunction · 0.65
prepareQueryFunction · 0.65
stagePanelUpdateFunction · 0.65
setVariableFunction · 0.65
createDatabaseFunction · 0.65
seedDBValuesFunction · 0.65
storage.test.tsFile · 0.65
crud.test.tsFile · 0.65

Implementers 1

EditableElementpackages/visual-editing/src/lib/editab

Calls

no outgoing calls

Tested by

no test coverage detected