module

Change::SQL

This is an incredibly basic module for SQL generation. To start, I just need a way of querying, inserting, updating, and deleting. No corner cases, associations, or anything like that are intended to be supported by this basic implementation.

Expanding this into a proper DSL/querying library can come later (see query-ideas.cr for an example of what this may look like in the future).

Macros

gen_db_mapping
Source
primary_key(name)
Source
source(name)

Define the name of the source table for an object.

Source

Nested types