MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / hget

Method hget

packages/@stdlib/data/src/data-abstraction.ts:245–258  ·  view source on GitHub ↗
(
    prefix: DataPrefix_,
    suffix: string,
    field: DataField_,
    params?: HMGetParams,
  )

Source from the content-addressed store, hash-verified

243 );
244 }
245 async hget<
246 DataPrefix_ extends DataPrefix,
247 DataField_ extends Extract<
248 keyof DataHashes_[DataPrefix_]['fields'],
249 string
250 > = Extract<keyof DataHashes_[DataPrefix_]['fields'], string>,
251 >(
252 prefix: DataPrefix_,
253 suffix: string,
254 field: DataField_,
255 params?: HMGetParams,
256 ) {
257 return (await this.hmget(prefix, suffix, [field], params))[0] as any;
258 }
259 async hmget<
260 DataPrefix_ extends DataPrefix,
261 DataField_ extends Extract<

Callers 9

mhgetMethod · 0.95
userHasPermissionFunction · 0.45
insertPageSnapshotFunction · 0.45
list.tsFile · 0.45
infos.tsFile · 0.45

Calls 1

hmgetMethod · 0.95

Tested by

no test coverage detected