primary_key(name)
SourceChange::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