MCPcopy
hub / github.com/buildbot/buildbot / getRelated

Method getRelated

www/data-module/src/data/DataCollection.ts:109–113  ·  view source on GitHub ↗
(
      callback: (parent: DataType) => DataCollection<ChildDataType>)

Source from the content-addressed store, hash-verified

107 }
108
109 getRelated<ChildDataType extends BaseClass>(
110 callback: (parent: DataType) => DataCollection<ChildDataType>) {
111 return new DataMultiCollection<DataType, ChildDataType>(this.accessor, this.array, null, null,
112 callback);
113 }
114
115 getRelatedProperties(callback: (child: DataType) => DataPropertiesCollection) {
116 return new DataMultiPropertiesCollection<DataType>(this.accessor, this.array, null, null,

Calls

no outgoing calls

Tested by

no test coverage detected