docs(8.0): consistency-model concept + snapshots guide — Db API replaces branching docs
This commit is contained in:
parent
e5feae4104
commit
cc8037db10
23 changed files with 1053 additions and 1871 deletions
|
|
@ -4592,7 +4592,7 @@ export class Brainy<T = any> implements BrainyInterface<T> {
|
|||
* const db = await brain.transact([
|
||||
* { op: 'add', id: aId, type: NounType.Person, subtype: 'employee', data: 'Ada' },
|
||||
* { op: 'add', id: bId, type: NounType.Project, subtype: 'milestone', data: 'Apollo' },
|
||||
* { op: 'relate', from: aId, to: bId, type: VerbType.WorksOn, subtype: 'assignment' }
|
||||
* { op: 'relate', from: aId, to: bId, type: VerbType.ParticipatesIn, subtype: 'assignment' }
|
||||
* ], { meta: { author: 'import-job-42' } })
|
||||
* db.receipt.ids // [aId, bId, relationshipId]
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue