Function: itemPath()
itemPath<
T>(type,repo,item,embed?):string
Defined in: db/path.ts:30
Given the path parts, composes them into a GoatDB path.
Type Parameters
| Type Parameter |
|---|
T extends string |
Parameters
| Parameter | Type | Description |
|---|---|---|
type | T | Type of the repository, e.g "sys" / "user" / "data". |
repo | string | The id of the repository. |
item | string | The key of the item within the repository. |
embed? | string | An optional embedded item within the main item. |
Returns
string
A full GoatDB path.