Guides
Welcome to the CQL Guides section! Here you'll find practical, focused documentation to help you use CQL (Crystal Query Language) effectively in your Crystal projects.
What You'll Find
Active Record with CQL: Learn how to define models, perform CRUD operations, build queries, manage relationships, and ensure data integrity using CQL's Active Record pattern.
Querying: Explore the powerful query interface, including chainable queries, aggregations, and advanced filtering.
Migrations: Manage your database schema changes over time with CQL's migration system.
Relationships: Understand and implement associations like
belongs_to
,has_one
,has_many
, andmany_to_many
.Other Topics: Find guides on pagination, scopes, callbacks, validations, and more.
Each guide is organized to be self-contained and practical, with code examples and explanations tailored for Crystal developers.
How to Use These Guides
Start with Active Record with CQL for a comprehensive overview and links to all sub-guides.
Use the sidebar or the links within each guide to navigate to specific topics.
Refer to the Getting Started guide if you're new to CQL.
Whether you're building your first Crystal app with CQL or looking to master advanced features, these guides are your go-to resource.
Last updated
Was this helpful?