deep-foundation / deep-foundation/deeplinks
`Link after value` or `Value after link`
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Link after value
```js
operations.push({
table: 'strings',
type: 'insert',
objects: {
link_id: postLinkId,
value: content
}
});
operations.push({
table: 'links',
type: 'insert',
objects: {
id: postLinkId,
type_id: Post,
from_id: newLink.from_id,
to_id: newLink.from_id,
},
});
```
or
Value after link
```js
operations.push({
table: 'links',
type: 'insert',
objects: {
id: postLinkId,
type_id: Post,
from_id: newLink.from_id,
to_id: newLink.from_id,
},
});
operations.push({
table: 'strings',
type: 'insert',
objects: {
link_id: postLinkId,
value: content
}
});
```
It may be irrelevant for async handlers, but important for sync handlers.
```js
await deep.serial({
operations
});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.