module Hathor::CollectionMacro
Direct including types
Defined in:
macros/collection.crMacro Summary
-
collection(collection_name, **options)
collection macro * it populates the PROPERTIES hash * creates property name : Array(type | Nil) - Nil only if nilable
-
collection!(name, **options)
shortcut for "nilable: false" option
Macro Detail
macro collection(collection_name, **options)
#
collection macro
- it populates the PROPERTIES hash
- creates property name : Array(type | Nil) - Nil only if nilable