MCPcopy
hub / github.com/directus/directus / readOne

Method readOne

packages/types/src/services.ts:190–190  ·  view source on GitHub ↗
(collection: string, field: string)

Source from the content-addressed store, hash-verified

188 columnInfo(collection?: string, field?: string): Promise<Column | Column[]>;
189 readAll(collection?: string): Promise<Field[]>;
190 readOne(collection: string, field: string): Promise<Record<string, any>>;
191 createField(
192 collection: string,
193 field: Partial<Field> & { field: string; type: Type | null },

Callers 15

fetchDynamicVariableDataFunction · 0.65
_fetchShareInfoFunction · 0.65
shares.tsFile · 0.65
deployment.tsFile · 0.65
dashboards.tsFile · 0.65
access.tsFile · 0.65
policies.tsFile · 0.65
collections.tsFile · 0.65
roles.tsFile · 0.65
presets.tsFile · 0.65
items.tsFile · 0.65
activity.tsFile · 0.65

Implementers 1

FieldsServiceapi/src/services/fields.ts

Calls

no outgoing calls

Tested by

no test coverage detected