RaisDBRaisDB
Connection Manage

Tags

Organize connections and groups with a free-form cross-cutting tag system.

A global dictionary of tag names plus a polymorphic join table — any entity type can be tagged via (target_type, target_id).

What tags are for

Lightweight, cross-cutting categorization across connections and groups.

Tags vs groups

  • Groups — hierarchical, one group per connection
  • Tags — flat, many tags per entity, cross-cutting

Add a tag

From a connection

Open a connection's context menu → Tags → pick or type.

From a group

Open a group's context menu → Tags → same.

Tag name rules

  • Case-insensitive and globally unique
  • Stored in the global dictionary
  • Reused across entities

Filter by tag

The sidebar shows a tag-filter when at least one tag exists. Click a tag to filter the connection list; click again to clear.

Behavior

Renaming an entity keeps its tags

Tag assignments are by id — rename the connection without losing its tags.

Deleting an entity cleans up

Deleting a connection or group removes its tag assignments in the same transaction.

Auto-prune

After every set / delete, dictionary entries with no remaining assignments are pruned. You never have to "delete a tag" manually.

Currently tagged entity types

  • connection — applied via the connection form
  • connection_group — applied via the group context menu

Adding new target_type values is a one-line code change — future entities (document, …) will plug into the same dictionary automatically.

On this page