An enumerable object describing tags.
Syntax
Database.tags
Methods
Method | Description |
---|---|
[get](name) [get](id) [get](args) |
Returns a shared or personal tag. |
[add](tagData) | Adds a new tag. |
[update](tagData) | Updates a tag. |
[delete](name) [delete](id) [delete](args) |
Deletes a tag. |
Examples
Retrieve a tag by its name. A personal tag will be returned if there are personal and shared tags.
Retrieve a tag by its id.
Retrieve a shared tag.
Add a new shared tag.
Add a new personal tag.
Change the name of a personal tag.
Delete a tag by its id.
Delete a tag by its name. A personal tag will be deleted first if there are personal and shared tags.
Delete a shared tag.
Delete a tag.