MCPcopy Create free account
hub / github.com/beapijs/beapi / sync

Method sync

packages/beapi/src/database/Modal.ts:181–197  ·  view source on GitHub ↗

* Syncs a document in memory to persistant storage by its id. * `Document.save()` has the same effect. * @param _id Id of document to save. * @returns

(_id: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

constructorMethod · 0.95
saveMethod · 0.80

Calls 4

runCommandFunction · 0.85
asObjectMethod · 0.80
serializeMethod · 0.45

Tested by

no test coverage detected