{% extends "base.html" %} {% block title %}{{ 'Edit' if collection_id else 'Create' }} Collection{% endblock %} {% block content %}

Collection

Define your collection structure and schema

Only lowercase letters, numbers, and underscores. Cannot be changed after creation.

Type cannot be changed after creation.

Auth collections are fully implemented! This will automatically add authentication fields (email, password, verified) and create authentication endpoints (/auth/register, /auth/login).

Perfect for: customers, vendors, team members, or any user type needing authentication.

View collections are virtual! They don't store data but compute it from other collections. Configure the query below to define what data to show.

Perfect for: statistics, joined data, aggregations, reports, dashboards.

View Query Configuration

The main collection to query from

Comma-separated list of fields to select (use table.field notation)

Comma-separated list of fields to group by (for aggregations)

Comma-separated list (prefix with - for descending)

How long to cache results (0 = no caching, default: 300)

Resulting SQL Query (preview):

SELECT FROM GROUP BY ORDER BY

Schema Fields

No fields defined yet. Click "Add Field" to create your schema.
Cancel
{% endblock %} {% block scripts %} {% endblock %}