Brian J. Cardiff
|
2886c207e0
|
Add support for nillables with T | Nil syntax.
|
2017-03-06 12:18:04 -03:00 |
|
RX14
|
0797ce72a3
|
Allow nilable types in DB.mapping
Previously, using a Nilable type in DB.mapping instead of nilable: true would
fail with a nil assertion error.
|
2017-02-15 16:09:01 +00:00 |
|
Brian J. Cardiff
|
2db12d99f5
|
fix formatting issues
|
2016-09-06 13:24:57 -03:00 |
|
Santiago Palladino
|
9ca0b19d9e
|
Support mappable classes in query_one and query_all methods
|
2016-07-04 12:46:45 -03:00 |
|
Santiago Palladino
|
552b6e12b4
|
Rebase to latest DB version and upgrade to Crystal 0.18
|
2016-07-04 12:13:39 -03:00 |
|
Santiago Palladino
|
7fcedc6711
|
Database mapping macro
Add `from_rs` method to class to load instances from a resultset. Inspired by YAML and JSON mapping macros.
|
2016-07-04 11:19:16 -03:00 |
|