📚 Collections

Organize queries, templates, and resources into collections. Share entire collections with team members for better collaboration.

Overview

Collections help you:

📦 Better Organization

Instead of sharing queries individually, create collections to share entire sets of resources at once.

Creating Collections

  1. Navigate to Collections page
  2. Click Create Collection
  3. Enter collection details:
    • Name: Descriptive collection name
    • Description: What the collection contains
    • Tags: Keywords for easier searching
    • Visibility: Private or Shared
  4. Click Create

Adding Items to Collections

From Query History

  1. Go to query history
  2. Find the query to add
  3. Click Add to Collection
  4. Select collection

From Templates

  1. Go to Templates page
  2. Select template
  3. Click Add to Collection
  4. Choose collection

Drag and Drop

In the Collections interface:

Collection Types

Query Collections

Groups of SQL queries:

Template Collections

Reusable query templates:

Mixed Collections

Combine different resource types:

Sharing Collections

Share with Users

  1. Open collection
  2. Click Share
  3. Select users or roles
  4. Set permissions:
    • View: See collection contents
    • Use: Execute queries/templates
    • Edit: Modify collection
    • Admin: Full control
  5. Click Share

Share with Roles

Grant access by role:

Public Collections

Make collections visible to organization:

Managing Collections

Organizing Items

Keep collections structured:

Collection Metadata

Enhance discoverability:

Version Control

Track changes over time:

Using Collections

Browse Collections

Find what you need:

Execute from Collections

Run queries directly:

Fork Collections

Create your own copy:

Example Use Cases

Sales Dashboard Collection

Items: - Daily revenue query - Top customers template - Sales by region - Conversion rates - Pipeline analysis

Data Quality Collection

Items: - Null value checks - Duplicate detection - Format validation - Referential integrity - Completeness reports

Onboarding Collection

Items: - Getting started queries - Basic templates - Common patterns - Best practices - Troubleshooting guides

Best Practices

Permissions

Collection permissions: